From 2fd846835d2460a12c321c460e77fd6026eb07a0 Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Sun, 13 Jun 2021 00:06:15 -0400 Subject: Add respawning after each point --- Assets/Scripts/Controllers/AIController.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Assets/Scripts/Controllers/AIController.cs') diff --git a/Assets/Scripts/Controllers/AIController.cs b/Assets/Scripts/Controllers/AIController.cs index 9d3d77b..ad258f3 100644 --- a/Assets/Scripts/Controllers/AIController.cs +++ b/Assets/Scripts/Controllers/AIController.cs @@ -61,6 +61,8 @@ namespace Controllers private void Update() { + if (game.freezeMotion) return; + var movement = transform.position; if (!game.enemy.HasBall) // Move towards the ball to grab it. -- cgit v1.2.3