1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 09:42:54 +08:00

Fix nullref

This commit is contained in:
smoogipoo 2020-03-09 19:07:44 +09:00
parent 0ecf6a4ecd
commit 6421f28ac7

View File

@ -64,7 +64,11 @@ namespace osu.Game.Tournament.Components
}
}
public void Reset() => manualClock.CurrentTime = 0;
public void Reset()
{
if (manualClock != null)
manualClock.CurrentTime = 0;
}
protected override void Update()
{