mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +00:00
Remove duplicated code
Adding game object to UpdateList has been invoked in `displayList.add` by new ADDED_TO_SCENE event already.
This commit is contained in:
parent
efd15f9cde
commit
f513f5bf31
1 changed files with 0 additions and 5 deletions
|
@ -135,11 +135,6 @@ var GameObjectFactory = new Class({
|
|||
this.displayList.add(child);
|
||||
}
|
||||
|
||||
if (child.preUpdate)
|
||||
{
|
||||
this.updateList.add(child);
|
||||
}
|
||||
|
||||
return child;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue