Skip to content

Commit 46fda1f

Browse files
committed
Fix StaticPhysicsGroup refresh
1 parent 0a0aa02 commit 46fda1f

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)