From afa12641aaaa80ee42f0021fb5ace97dcccbfc2a Mon Sep 17 00:00:00 2001 From: _Bastler <_Bastler@bstly.de> Date: Mon, 20 Sep 2021 09:30:36 +0200 Subject: [PATCH] undo --- front/src/Phaser/Game/GameScene.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index 46f1b674..7bc09e9b 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -429,20 +429,6 @@ export class GameScene extends DirtyScene { //hook create scene create(): void { - if (!this.mapFile) { - if (this.roomUrl == localUserStore.getLastRoomUrl()) { - localUserStore.setLastRoomUrl(null); - } - - //display an error scene - this.scene.start(ErrorSceneName, { - title: "Network error", - subTitle: "An error occurred while loading resource:", - message: this.originalMapUrl, - }); - return; - } - this.preloading = false; this.trackDirtyAnims();