Merge branch 'develop' of github.com:thecodingmachine/workadventure
This commit is contained in:
@@ -114,7 +114,7 @@ export class GameManager {
|
||||
if (this.currentGameSceneName === null) throw "No current scene id set!";
|
||||
const gameScene: GameScene = this.scenePlugin.get(this.currentGameSceneName) as GameScene;
|
||||
gameScene.cleanupClosingScene();
|
||||
this.scenePlugin.stop(this.currentGameSceneName);
|
||||
gameScene.createSuccessorGameScene(false, false);
|
||||
this.scenePlugin.sleep(MenuSceneName);
|
||||
if (!this.scenePlugin.get(targetSceneName)) {
|
||||
this.scenePlugin.add(targetSceneName, sceneClass, false);
|
||||
|
||||
Reference in New Issue
Block a user