Skip to content

Commit 3c2fac2

Browse files
committed
Exit early for checkCollision.none
1 parent e100ce6 commit 3c2fac2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physics/arcade/World.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@ var World = new Class({
19201920
{
19211921
var bodyA = sprite.body;
19221922

1923-
if (group.length === 0 || !bodyA || !bodyA.enable)
1923+
if (group.length === 0 || !bodyA || !bodyA.enable || bodyA.checkCollision.none)
19241924
{
19251925
return;
19261926
}

0 commit comments

Comments
 (0)