Fix `MultiplayerPlayer` never calling `Reset` on `GameplayClockContainer`

This call is responsible for ensuring the clock is in a stopped state.
This commit is contained in:
Dean Herbert 2023-10-10 17:58:37 +09:00
parent eee7dc02da
commit 100c0cf533
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ protected override void StartGameplay()
loadingDisplay.Show();
client.ChangeState(MultiplayerUserState.ReadyForGameplay);
}
// This will pause the clock, pending the gameplay started callback from the server.
GameplayClockContainer.Reset();
}
private void failAndBail(string message = null)