FIX: the game now uses the url hash to choose the start layer
This commit is contained in:
parent
09d6d22a5d
commit
8d8b879ed6
4 changed files with 19 additions and 27 deletions
|
@ -42,7 +42,7 @@ export class GameManager {
|
|||
|
||||
const gameIndex = scenePlugin.getIndex(roomID);
|
||||
if(gameIndex === -1){
|
||||
const game : Phaser.Scene = GameScene.createFromUrl(room, mapUrl);
|
||||
const game : Phaser.Scene = new GameScene(room, mapUrl);
|
||||
scenePlugin.add(roomID, game, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue