X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/4fc09567c557a1110180940cca40fd7144921026..05e4b948df39b47d33067049cf51fd3be7749031:/SuperPolarity/ActorManager.cs?ds=sidebyside 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))) {