diff options
Diffstat (limited to 'SuperPolarity/ActorManager.cs')
| -rw-r--r-- | SuperPolarity/ActorManager.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/SuperPolarity/ActorManager.cs b/SuperPolarity/ActorManager.cs index f5587b9..56db26c 100644 --- a/SuperPolarity/ActorManager.cs +++ b/SuperPolarity/ActorManager.cs @@ -68,7 +68,9 @@ namespace SuperPolarity { Actor other = Actors[j]; - CheckCollision(actor, other); + if (actor.Collides && other.Collides) { + CheckCollision(actor, other); + } if (actor.GetType().IsSubclassOf(typeof(Ship)) && other.GetType().IsSubclassOf(typeof(Ship))) { |