mirror of
https://github.com/photonstorm/phaser
synced 2024-11-29 16:10:56 +00:00
Merge pull request #5641 from samme/fix/UpdateList-shutdown
Fix scene PRE_UPDATE handlers removed at scene shutdown
This commit is contained in:
commit
3c3b32ec77
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue