1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 20:22:55 +08:00

Move initial validity check out of loop for clarity

This commit is contained in:
Dean Herbert 2020-10-29 14:25:47 +09:00
parent 6c2cee7b3f
commit d91456dc29

View File

@ -96,7 +96,10 @@ namespace osu.Game.Rulesets.UI
int loops = MaxCatchUpFrames;
while (state != PlaybackState.NotValid && loops-- > 0)
if (state == PlaybackState.NotValid)
return true;
while (loops-- > 0)
{
updateClock();