Replace Room.getInstance with getter function

This commit is contained in:
Alban Bruder
2022-04-12 12:56:48 -04:00
committed by David Négrier
parent 6a202fff49
commit 1781b8423c
2 changed files with 13 additions and 29 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ export class GameScene extends DirtyScene {
});
this.Terrains = [];
this.groups = new Map<number, Sprite>();
this.instance = room.getInstance();
this.instance = room.instance;
this.MapUrlFile = MapUrlFile;
this.roomUrl = room.key;