mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:52:55 +08:00
Move initial validity check out of loop for clarity
This commit is contained in:
parent
6c2cee7b3f
commit
d91456dc29
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user