diff options
| author | Cameron Katri <me@cameronkatri.com> | 2021-06-13 00:11:14 -0400 |
|---|---|---|
| committer | Cameron Katri <me@cameronkatri.com> | 2021-06-13 00:11:14 -0400 |
| commit | b2cb1b8162e404391b2a30b77b2b4c0565adc9c4 (patch) | |
| tree | 89a2caac46f14e81349021f89562bacdb1d45c8f /Assets/Scripts/Controllers/AIController.cs | |
| parent | 25192f07018ad142818a87c2aacac1bf0ecdf551 (diff) | |
| parent | 81dfc0b51dcd0abeae7b47820f54f10050d6a678 (diff) | |
| download | gmtk-gamejam-b2cb1b8162e404391b2a30b77b2b4c0565adc9c4.tar.gz gmtk-gamejam-b2cb1b8162e404391b2a30b77b2b4c0565adc9c4.zip | |
Merge branch 'master' of git.cameronkatri.com:gmtk-gamejam
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. |
