Skip to content

Commit 51cc10b

Browse files
authored
Merge pull request phaserjs#3968 from samme/fix/arcade-world-disable
Fix Arcade.World#disable
2 parents b7c74a0 + fb23367 commit 51cc10b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/physics/arcade/World.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,13 +673,13 @@ var World = new Class({
673673
}
674674
else
675675
{
676-
this.disableBody(child);
676+
this.disableBody(child.body);
677677
}
678678
}
679679
}
680680
else
681681
{
682-
this.disableBody(entry);
682+
this.disableBody(entry.body);
683683
}
684684
}
685685
},

0 commit comments

Comments
 (0)