Exit early for checkCollision.none

This commit is contained in:
samme 2020-02-08 17:17:02 -08:00
parent e100ce6593
commit 3c2fac2101

View file

@ -1920,7 +1920,7 @@ var World = new Class({
{
var bodyA = sprite.body;
if (group.length === 0 || !bodyA || !bodyA.enable)
if (group.length === 0 || !bodyA || !bodyA.enable || bodyA.checkCollision.none)
{
return;
}