Merge pull request #37561 from AnturK/customloadingfix
Fixes loading custom aways.
This commit is contained in:
committed by
CitadelStationBot
parent
7205a15ef7
commit
da2ea729ee
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user