diff options
Diffstat (limited to 'Assets/Scripts/Controllers/AIController.cs')
-rw-r--r-- | Assets/Scripts/Controllers/AIController.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Assets/Scripts/Controllers/AIController.cs b/Assets/Scripts/Controllers/AIController.cs index 92dc6bc..cdfc9a8 100644 --- a/Assets/Scripts/Controllers/AIController.cs +++ b/Assets/Scripts/Controllers/AIController.cs @@ -62,6 +62,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. |