Skip to content

Commit

Permalink
Fix clearing PRE_UPDATE by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
samme committed Apr 3, 2021
1 parent 5c8ecbc commit 2856b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gameobjects/UpdateList.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ var UpdateList = new Class({

var eventEmitter = this.systems.events;

eventEmitter.off(SceneEvents.PRE_UPDATE, this.preUpdate, this);
eventEmitter.off(SceneEvents.PRE_UPDATE, this.update, this);
eventEmitter.off(SceneEvents.UPDATE, this.sceneUpdate, this);
eventEmitter.off(SceneEvents.SHUTDOWN, this.shutdown, this);
},
Expand Down

0 comments on commit 2856b1a

Please sign in to comment.