FIX: going back a 2nd time to SelectCharacterScene used to crash the game
This commit is contained in:
@@ -311,7 +311,7 @@ export class GameScene extends ResizableScene implements CenterListener {
|
||||
|
||||
//hook create scene
|
||||
create(): void {
|
||||
gameManager.currentGameSceneName = this.scene.key;
|
||||
gameManager.gameSceneIsCreated(this);
|
||||
urlManager.pushRoomIdToUrl(this.room);
|
||||
this.startLayerName = urlManager.getStartLayerNameFromUrl();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user