mirror of
https://github.com/photonstorm/phaser
synced 2025-02-28 05:17:16 +00:00
Merge branch 'master' of https://github.com/photonstorm/phaser
This commit is contained in:
commit
63b3bfe6c3
2 changed files with 3 additions and 2 deletions
|
@ -296,7 +296,7 @@ var GameObject = new Class({
|
||||||
// TODO Keep a reference to the manager in Body, so body can remove itself, not via System
|
// TODO Keep a reference to the manager in Body, so body can remove itself, not via System
|
||||||
if (this.body)
|
if (this.body)
|
||||||
{
|
{
|
||||||
sys.physicsManager.remove(this);
|
// sys.physicsManager.remove(this);
|
||||||
|
|
||||||
this.body = undefined;
|
this.body = undefined;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
var Extend = require('../utils/object/Extend');
|
||||||
var XHRSettings = require('./XHRSettings');
|
var XHRSettings = require('./XHRSettings');
|
||||||
|
|
||||||
// Takes two XHR Objects and creates a new object
|
// Takes two XHR Objects and creates a new object
|
||||||
|
@ -7,7 +8,7 @@ var XHRSettings = require('./XHRSettings');
|
||||||
|
|
||||||
var MergeXHRSettings = function (global, local)
|
var MergeXHRSettings = function (global, local)
|
||||||
{
|
{
|
||||||
var output = (global === undefined) ? XHRSettings() : Object.assign(global);
|
var output = (global === undefined) ? XHRSettings() : Extend(global);
|
||||||
|
|
||||||
if (local)
|
if (local)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue