Skip to content

Commit 6697d46

Browse files
authored
Merge pull request phaserjs#5291 from rexrainbow/duplicated-code-in-add.existing
Remove duplicated code
2 parents efd15f9 + f513f5b commit 6697d46

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/gameobjects/GameObjectFactory.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,6 @@ var GameObjectFactory = new Class({
135135
this.displayList.add(child);
136136
}
137137

138-
if (child.preUpdate)
139-
{
140-
this.updateList.add(child);
141-
}
142-
143138
return child;
144139
},
145140

0 commit comments

Comments
 (0)