mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Fixed Uncaught TypeError: Cannot set property 'x' of undefined
in Body.js (thanks @ErwanErwan #2607)
This commit is contained in:
parent
aaa9f0d61a
commit
cfb2b813ef
2 changed files with 2 additions and 2 deletions
|
@ -318,7 +318,7 @@ You can read all about the philosophy behind Lazer [here](http://phaser.io/news/
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
*
|
* Fixed `Uncaught TypeError: Cannot set property 'x' of undefined` in Body.js (thanks @ErwanErwan #2607)
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
|
||||||
|
|
|
@ -706,7 +706,7 @@ Phaser.Physics.Arcade.prototype = {
|
||||||
|
|
||||||
if (this.skipQuadTree || sprite.body.skipQuadTree)
|
if (this.skipQuadTree || sprite.body.skipQuadTree)
|
||||||
{
|
{
|
||||||
var bounds;
|
var bounds = {};
|
||||||
|
|
||||||
for (var i = 0; i < group.hash.length; i++)
|
for (var i = 0; i < group.hash.length; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue