Fixed Uncaught TypeError: Cannot set property 'x' of undefined in Body.js (thanks @ErwanErwan #2607)

This commit is contained in:
Richard Davey 2016-07-08 18:54:00 +01:00
parent aaa9f0d61a
commit cfb2b813ef
2 changed files with 2 additions and 2 deletions

View file

@ -318,7 +318,7 @@ You can read all about the philosophy behind Lazer [here](http://phaser.io/news/
### Bug Fixes
*
* Fixed `Uncaught TypeError: Cannot set property 'x' of undefined` in Body.js (thanks @ErwanErwan #2607)
*
*

View file

@ -706,7 +706,7 @@ Phaser.Physics.Arcade.prototype = {
if (this.skipQuadTree || sprite.body.skipQuadTree)
{
var bounds;
var bounds = {};
for (var i = 0; i < group.hash.length; i++)
{