Added ternary operator for first_roll_next_frame