FIX: room id is now pushed to the url

This commit is contained in:
kharhamel 2020-11-25 17:17:48 +01:00
parent 48b856f836
commit 65785240e1
2 changed files with 8 additions and 0 deletions

View file

@ -301,6 +301,7 @@ export class GameScene extends ResizableScene implements CenterListener {
//hook create scene
create(): void {
urlManager.pushRoomIdToUrl(this.room);
this.startLayerName = urlManager.getStartLayerNameFromUrl();
//initalise map