mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 07:31:11 +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)
|
||||
{
|
||||
scene.sys.displayList.add(gameObject);
|
||||
}
|
||||
|
||||
if (gameObject.preUpdate)
|
||||
{
|
||||
scene.sys.updateList.add(gameObject);
|
||||
}
|
||||
if (gameObject.preUpdate)
|
||||
{
|
||||
scene.sys.updateList.add(gameObject);
|
||||
}
|
||||
|
||||
return gameObject;
|
||||
|
|
Loading…
Reference in a new issue