mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +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;
|
int loops = MaxCatchUpFrames;
|
||||||
|
|
||||||
while (state != PlaybackState.NotValid && loops-- > 0)
|
if (state == PlaybackState.NotValid)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
while (loops-- > 0)
|
||||||
{
|
{
|
||||||
updateClock();
|
updateClock();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user