FIX: going to loginScene or customizeScene and then clicking next bring you back directly to the gameScene

This commit is contained in:
kharhamel 2020-12-15 18:00:04 +01:00
parent 5890e72dd5
commit de9d6756b4
5 changed files with 28 additions and 14 deletions

View file

@ -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));