FIX: going to loginScene or customizeScene and then clicking next bring you back directly to the gameScene
This commit is contained in:
parent
5890e72dd5
commit
de9d6756b4
5 changed files with 28 additions and 14 deletions
|
@ -122,8 +122,8 @@ export class CustomizeScene extends ResizableScene {
|
|||
|
||||
gameManager.setCharacterLayers(layers);
|
||||
|
||||
this.scene.sleep(CustomizeSceneName)
|
||||
this.scene.run(EnableCameraSceneName);
|
||||
this.scene.sleep(CustomizeSceneName);
|
||||
gameManager.tryResumingGame(this, EnableCameraSceneName);
|
||||
});
|
||||
|
||||
this.input.keyboard.on('keydown-RIGHT', () => this.moveCursorHorizontally(1));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue