fix some client shzi"
This commit is contained in:
@@ -89,7 +89,7 @@ class Menu extends Phaser.Scene {
|
||||
Object.keys(this.scene.manager.keys).forEach((key) => {
|
||||
if (!ACTIVE_SCENES.includes(key)) {
|
||||
// Remove listeners and scene
|
||||
this.scene.get(key).cleanUp();
|
||||
if (this.scene.get(key).cleanUp) this.scene.get(key).cleanUp();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user