From d62b47e2b9871fdf687d9b242306db692e66d818 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Tue, 3 Jun 2025 16:37:19 -0700 Subject: [PATCH] page.redirect was not a function, causing the url not to redirect. als remove the # check so we are no longer serving ads --- src/client/Main.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/client/Main.ts b/src/client/Main.ts index 140c20e4e..a06d3b72c 100644 --- a/src/client/Main.ts +++ b/src/client/Main.ts @@ -244,11 +244,8 @@ class Client { } const lobbyId = ctx.params.lobbyId; - // Show news modal even if user loads game directly - const newsModal = document.querySelector("news-modal") as NewsModal; - if (newsModal) { - newsModal.open(); - } + const modal = document.querySelector("news-modal") as NewsModal; + if (modal) modal.open(); this.joinModal.open(lobbyId);