Merge remote-tracking branch 'origin/master'

This commit is contained in:
Pavle Goloskokovic 2017-11-16 17:48:12 +01:00
commit a62d8a0174

View file

@ -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;