We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2219858 commit 64e5b43Copy full SHA for 64e5b43
1 file changed
src/physics/arcade/World.js
@@ -695,7 +695,7 @@ var World = new Class({
695
var body;
696
697
var dynamic = this.bodies;
698
- var static = this.staticBodies;
+ var staticBodies = this.staticBodies;
699
var pending = this.pendingDestroy;
700
701
var bodies = dynamic.entries;
@@ -727,7 +727,7 @@ var World = new Class({
727
}
728
729
730
- bodies = static.entries;
+ bodies = staticBodies.entries;
731
len = bodies.length;
732
733
for (i = 0; i < len; i++)
@@ -761,7 +761,7 @@ var World = new Class({
761
else if (body.physicsType === CONST.STATIC_BODY)
762
{
763
staticTree.remove(body);
764
- static.delete(body);
+ staticBodies.delete(body);
765
766
767
body.world = undefined;
0 commit comments