summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js3
1 files changed, 1 insertions, 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();