undo
This commit is contained in:
parent
9650453edc
commit
afa12641aa
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user