From 82fc8fe8b1bee03066a2f35f3ec9615a6817718d Mon Sep 17 00:00:00 2001 From: zumbiepig <121742281+zumbiepig@users.noreply.github.com> Date: Wed, 21 Aug 2024 16:51:10 -0700 Subject: [PATCH] loading screens --- src/resources/scripts/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/resources/scripts/main.ts b/src/resources/scripts/main.ts index 8edfbd9..4ca9547 100644 --- a/src/resources/scripts/main.ts +++ b/src/resources/scripts/main.ts @@ -51,9 +51,11 @@ const versionSelector = { const game = { play: function (version?: string) { if (version) { + document.body.style.display = 'none'; // @ts-expect-error window.top.location.href = version; } else if (selectedVersion) { + document.body.style.display = 'none'; // @ts-expect-error window.top.location.href = selectedVersion; } else {