diff --git a/v3/src/gameobjects/BuildGameObject.js b/v3/src/gameobjects/BuildGameObject.js index 9e4c8a4ef..de6541882 100644 --- a/v3/src/gameobjects/BuildGameObject.js +++ b/v3/src/gameobjects/BuildGameObject.js @@ -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;