1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +08:00

Fix loop not exiting after first valid frame

This commit is contained in:
Dean Herbert 2020-10-30 15:25:53 +09:00
parent 8e6c803900
commit 326fd03525

View File

@ -110,7 +110,7 @@ namespace osu.Game.Rulesets.UI
int loops = MaxCatchUpFrames;
while (loops-- > 0)
do
{
// update clock is always trying to approach the aim time.
// it should be provided as the original value each loop.
@ -121,7 +121,7 @@ namespace osu.Game.Rulesets.UI
base.UpdateSubTree();
UpdateSubTreeMasking(this, ScreenSpaceDrawQuad.AABBFloat);
}
} while (state == PlaybackState.RequiresCatchUp && loops-- > 0);
return true;
}