mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 07:31:11 +00:00
Exit early for checkCollision.none
This commit is contained in:
parent
e100ce6593
commit
3c2fac2101
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue