mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 09:42:54 +08:00
Fix nullref
This commit is contained in:
parent
0ecf6a4ecd
commit
6421f28ac7
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user