diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index c41d693..5c1cdd0 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -68,7 +68,14 @@ namespace InterfaceOff.WorldScene transform.rotation = Quaternion.Euler(rotation.x, rotation.y, 0); /* Updates the blocking state */ - SetAnimationState(!Frames[FrameIndex].ShootGun); + if (ActiveWindowSpawner.SpawnedWindowCount < MAX_WINDOWS) + { + SetAnimationState(!Frames[FrameIndex].ShootGun); + } + else + { + SetAnimationState(true); + } } }