diff --git a/Assets/Scripts/RoundController.cs b/Assets/Scripts/RoundController.cs index 205a286b0f936ef49a4a4931d7ba8c60f6be45bc..387210144fcf1ba92491cd637d2571c76faa597b 100644 --- a/Assets/Scripts/RoundController.cs +++ b/Assets/Scripts/RoundController.cs @@ -99,8 +99,14 @@ public class RoundController : MonoBehaviour, IFighterCallback var targetGameSpeed = 0.2f; SetGameSpeed(targetGameSpeed); cameraController.AnimateToPosition(fighter.transform.position + new Vector3(0f, 0.75f), 1.5f, 0.125f * targetGameSpeed); - Invoke(nameof(StopRound), targetGameSpeed * restartDelayAfterLastFighterDeath); + Invoke(nameof(StopRoundAfterDeath), targetGameSpeed * restartDelayAfterLastFighterDeath); } } + void StopRoundAfterDeath() + { + StopRound(); + cameraController.AnimateToPosition(new Vector3(0, 0, 0), 5f, 0.15f); + } + }