Ticking the map dm's will force that map to load

This commit is contained in:
Cyberboss
2017-03-06 18:01:49 -05:00
parent 28feb7078c
commit 2ff5e1aaf8
7 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1 @@
#define FORCE_MAP "_maps/deltastation.json"

View File

@@ -0,0 +1 @@
#define FORCE_MAP "_maps/metastation.json"

View File

@@ -0,0 +1 @@
#define FORCE_MAP "_maps/omegastation.json"

View File

@@ -0,0 +1 @@
#define FORCE_MAP "_maps/pubbystation.json"

View File

@@ -0,0 +1 @@
#define FORCE_MAP "_maps/runtimestation.json"

View File

@@ -0,0 +1 @@
#define FORCE_MAP "_maps/tgstation2.json"

View File

@@ -28,7 +28,11 @@ var/datum/subsystem/mapping/SSmapping
if(previous_map_config.defaulted) if(previous_map_config.defaulted)
previous_map_config = null previous_map_config = null
if(!config) if(!config)
#ifdef FORCE_MAP
config = new(FORCE_MAP)
#else
config = new config = new
#endif
return ..() return ..()