]> git.cameronkatri.com Git - gmtk-gamejam.git/blobdiff - Assets/Scripts/Controllers/AIController.cs
Add respawning after each point
[gmtk-gamejam.git] / Assets / Scripts / Controllers / AIController.cs
index 9d3d77b1dc4632693a3b546f0da857e6c0234fb8..ad258f3a4111ecf7cb579ac536ed31cadacdedb3 100644 (file)
@@ -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.