Merge pull request #9578 from deathride58/mapsubsystemimprovements

Map config system improvements - Fixed and expanded map vote restrictions, map-specific announcer framework, and more
This commit is contained in:
kevinz000
2019-10-29 21:42:32 -07:00
committed by GitHub
100 changed files with 251 additions and 90 deletions
+2
View File
@@ -54,6 +54,8 @@ SUBSYSTEM_DEF(mapping)
if(!config || config.defaulted)
to_chat(world, "<span class='boldannounce'>Unable to load next or default map config, defaulting to Box Station</span>")
config = old_config
GLOB.year_integer += config.year_offset
GLOB.announcertype = (config.announcertype == "standard" ? (prob(1) ? "medibot" : "classic") : config.announcertype)
loadWorld()
repopulate_sorted_areas()
process_teleport_locs() //Sets up the wizard teleport locations