mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a62d8a0174
1 changed files with 4 additions and 4 deletions
|
@ -96,11 +96,11 @@ var BuildGameObject = function (scene, gameObject, config)
|
||||||
if (add)
|
if (add)
|
||||||
{
|
{
|
||||||
scene.sys.displayList.add(gameObject);
|
scene.sys.displayList.add(gameObject);
|
||||||
|
}
|
||||||
|
|
||||||
if (gameObject.preUpdate)
|
if (gameObject.preUpdate)
|
||||||
{
|
{
|
||||||
scene.sys.updateList.add(gameObject);
|
scene.sys.updateList.add(gameObject);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return gameObject;
|
return gameObject;
|
||||||
|
|
Loading…
Reference in a new issue