mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 23:57:25 +08:00
Reduce severity of clock running check to avoid production crashes
This commit is contained in:
parent
4319b22db8
commit
eee7dc02da
@ -1078,7 +1078,7 @@ namespace osu.Game.Screens.Play
|
|||||||
protected virtual void StartGameplay()
|
protected virtual void StartGameplay()
|
||||||
{
|
{
|
||||||
if (GameplayClockContainer.IsRunning)
|
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);
|
GameplayClockContainer.Reset(startClock: true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user