From aa74e99bd5ee7e418e6f2d1b418d52cc0cf10b71 Mon Sep 17 00:00:00 2001 From: Ldip999 <60290575+Ldip999@users.noreply.github.com> Date: Mon, 1 Jul 2024 02:04:50 +0200 Subject: [PATCH] Fixes webmap (#16209) --- code/controllers/configuration/entries/general.dm | 2 +- interface/interface.dm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/controllers/configuration/entries/general.dm b/code/controllers/configuration/entries/general.dm index 83c296cd8e00c..f31c580dc757b 100644 --- a/code/controllers/configuration/entries/general.dm +++ b/code/controllers/configuration/entries/general.dm @@ -34,7 +34,7 @@ Basics, the most important. /// Host of the webmap /datum/config_entry/string/webmap_host - config_entry_value = "https://affectedarc07.co.uk/tgmc.php?m=" + config_entry_value = "https://webmap.affectedarc07.co.uk/maps/tgmc/" /datum/config_entry/string/python_path diff --git a/interface/interface.dm b/interface/interface.dm index 703b0373fa0e5..8ec55b1cf3e57 100644 --- a/interface/interface.dm +++ b/interface/interface.dm @@ -82,9 +82,9 @@ var/choice = alert("Do you want to view the ground or the ship?",,"Ship","Ground","Cancel") switch(choice) if("Ship") - map_url = SSmapping.configs[SHIP_MAP].map_file + map_url = lowertext(SSmapping.configs[SHIP_MAP].map_name) if("Ground") - map_url = SSmapping.configs[GROUND_MAP].map_file + map_url = lowertext(SSmapping.configs[GROUND_MAP].map_name) if(!map_url) to_chat(src, span_warning("Mapping subsystem hasn't finished loading yet, try again later."))