From abfb8c6d7d32cd6a2538c76b5a822c00b5a1ea50 Mon Sep 17 00:00:00 2001 From: samme Date: Sun, 27 Jun 2021 08:05:45 -0700 Subject: [PATCH] Collide group vs self as array Fixes #5758 --- src/physics/arcade/World.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physics/arcade/World.js b/src/physics/arcade/World.js index 4466994c82..3ae93e2f5f 100644 --- a/src/physics/arcade/World.js +++ b/src/physics/arcade/World.js @@ -1759,7 +1759,7 @@ var World = new Class({ var i; var j; - if (object1.isParent && object1.physicsType === undefined) + if (object1.isParent && (object1.physicsType === undefined || object2 === undefined || object1 === object2)) { object1 = object1.children.entries; }