From 5e54ac89de0f48e2042af47fe52ba78e94ebf958 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 27 Nov 2021 13:31:38 +0100 Subject: 300: Fix Greece map flipping with new URL scheme. --- ui.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui.js b/ui.js index a667fae..8c2526b 100644 --- a/ui.js +++ b/ui.js @@ -641,8 +641,7 @@ function toggle_markers() { document.querySelector(".map").classList.toggle("hide_markers"); } -player = new URLSearchParams(window.location.search).get("role"); -if (player == GREECE) +if (param_role == GREECE) document.getElementById("map").classList.add("greek"); build_ui(); -- cgit v1.2.3