Reduce severity of clock running check to avoid production crashes

This commit is contained in:
Dean Herbert 2023-10-10 17:58:11 +09:00
parent 4319b22db8
commit eee7dc02da
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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);