Skip to content

Commit b3b307f

Browse files
authored
Merge pull request #6976 from samme/fix/v4.0.0/static-group-refresh
Fix Static Physics Group refresh
2 parents 07b545f + 46fda1f commit b3b307f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/physics/arcade/StaticPhysicsGroup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ var StaticPhysicsGroup = new Class({
209209
*/
210210
refresh: function ()
211211
{
212-
var children = this.children.entries;
212+
var children = Array.from(this.children);
213213

214214
for (var i = 0; i < children.length; i++)
215215
{

0 commit comments

Comments
 (0)