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
@@ -119,7 +119,7 @@ export class SelectCharacterScene extends ResizableScene {
this.scene.sleep(SelectCharacterSceneName);
if (this.selectedPlayer !== null) {
gameManager.setCharacterLayers([this.selectedPlayer.texture.key]);
this.scene.run(EnableCameraSceneName);
gameManager.tryResumingGame(this, EnableCameraSceneName);
} else {
this.scene.run(CustomizeSceneName);
}