mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Move initial validity check out of loop for clarity
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user