X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/078dd693a22cc6793cf6f0f64820369cc606edf6..8bdfcb11a2c1023c684093c0f19f3cc65799e0f8:/SuperPolarity/ActorManager.cs 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))) {