mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Fix potential infinite loop
This commit is contained in:
parent
76ce3954a0
commit
d5943330b1
@ -161,10 +161,7 @@ namespace osu.Game.Rulesets.UI
|
||||
private void updateClock()
|
||||
{
|
||||
if (parentGameplayClock == null)
|
||||
{
|
||||
validState = false;
|
||||
return;
|
||||
}
|
||||
|
||||
validState = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user