Skip to content

Commit 4498af7

Browse files
authored
Merge pull request #7117 from TadejZupancic/v4.0.0
Add missing thisValue for forEach
2 parents 3d16d26 + 31fd531 commit 4498af7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gameobjects/group/Group.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ var Group = new Class({
725725
gameObject.removeFromDisplayList();
726726
gameObject.removeFromUpdateList();
727727
}
728-
});
728+
}, this);
729729

730730
children.clear();
731731

src/physics/arcade/StaticPhysicsGroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var StaticPhysicsGroup = new Class({
7777
singleConfig.internalRemoveCallback = this.removeCallbackHandler;
7878
singleConfig.createMultipleCallback = this.createMultipleCallbackHandler;
7979
singleConfig.classType = GetFastValue(singleConfig, 'classType', ArcadeSprite);
80-
});
80+
}, this);
8181
}
8282
else
8383
{

0 commit comments

Comments
 (0)