Merge pull request #6602 from Citadel-Station-13/upstream-merge-37561

[MIRROR] Fixes loading custom aways.
This commit is contained in:
deathride58
2018-05-02 01:27:26 +00:00
committed by GitHub
+2 -2
View File
@@ -355,8 +355,8 @@ GLOBAL_LIST_EMPTY(the_station_areas)
var/mapfile = input("Pick file:", "File") as null|file
if(!mapfile)
return
away_name = mapfile + " custom"
to_chat(usr,"<span class='notice'>Loading [mapfile]...</span>")
away_name = "[mapfile] custom"
to_chat(usr,"<span class='notice'>Loading [away_name]...</span>")
var/datum/map_template/template = new(mapfile, "Away Mission")
away_level = template.load_new_z()
else