Skip to content

Commit

Permalink
Fixes webmap (#16209)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ldip999 authored Jul 1, 2024
1 parent 1ca8550 commit aa74e99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/controllers/configuration/entries/general.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions interface/interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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."))
Expand Down

0 comments on commit aa74e99

Please sign in to comment.