This commit is contained in:
Andras Schmelczer 2026-08-22 20:59:46 +01:00
commit 98c4d63756
3 changed files with 155 additions and 223 deletions

View file

@ -173,4 +173,9 @@ const main = async () => {
}
};
main();
main().catch((error) => {
console.error(error);
hide(spinner);
joinNotice.innerText = 'Something went wrong. Please reload the page.';
joinNotice.style.display = 'block';
});

View file

@ -93,6 +93,7 @@ export class Game extends CommandReceiver {
this.gameObjects = new GameObjectContainer(this);
this.overlay.innerHTML = '';
this.keystoneArrow = undefined;
this.connectionBanner = undefined;
this.lastMinimap = undefined;
this.isEnding = false;
this.lastAnnouncementText = '';

View file

@ -5,6 +5,7 @@
"target": "es6",
"esModuleInterop": true,
"strict": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"ignoreDeprecations": "6.0",
"skipLibCheck": true,