Fixing URL not being rewritten when changing maps
This commit is contained in:
parent
3ba3b24647
commit
517b3a644b
2 changed files with 8 additions and 1 deletions
|
@ -64,7 +64,7 @@ export class GameManager {
|
|||
public async goToStartingMap(scenePlugin: Phaser.Scenes.ScenePlugin) {
|
||||
const url = await this.startRoom.getMapUrl();
|
||||
console.log('Starting scene '+url);
|
||||
scenePlugin.start(url, {startLayerName: 'global'});
|
||||
scenePlugin.start(url);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue