FIX: going back a 2nd time to SelectCharacterScene used to crash the game
This commit is contained in:
parent
f5e77ad749
commit
eb88db92be
6 changed files with 32 additions and 19 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue