mirror of https://github.com/ppy/osu
Reduce severity of clock running check to avoid production crashes
This commit is contained in:
parent
4319b22db8
commit
eee7dc02da
|
@ -1078,7 +1078,7 @@ public override void OnEntering(ScreenTransitionEvent e)
|
|||
protected virtual void StartGameplay()
|
||||
{
|
||||
if (GameplayClockContainer.IsRunning)
|
||||
throw new InvalidOperationException($"{nameof(StartGameplay)} should not be called when the gameplay clock is already running");
|
||||
Logger.Error(new InvalidOperationException($"{nameof(StartGameplay)} should not be called when the gameplay clock is already running"), "Clock failure");
|
||||
|
||||
GameplayClockContainer.Reset(startClock: true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue