Skip to content

Commit

Permalink
Ticking the map dm's will force that map to load
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Mar 6, 2017
1 parent 28feb70 commit 2ff5e1a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions _maps/deltastation.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define FORCE_MAP "_maps/deltastation.json"
1 change: 1 addition & 0 deletions _maps/metastation.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define FORCE_MAP "_maps/metastation.json"
1 change: 1 addition & 0 deletions _maps/omegastation.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define FORCE_MAP "_maps/omegastation.json"
1 change: 1 addition & 0 deletions _maps/pubbystation.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define FORCE_MAP "_maps/pubbystation.json"
1 change: 1 addition & 0 deletions _maps/runtimestation.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define FORCE_MAP "_maps/runtimestation.json"
1 change: 1 addition & 0 deletions _maps/tgstation2.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define FORCE_MAP "_maps/tgstation2.json"
4 changes: 4 additions & 0 deletions code/controllers/subsystem/mapping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ var/datum/subsystem/mapping/SSmapping
if(previous_map_config.defaulted)
previous_map_config = null
if(!config)
#ifdef FORCE_MAP
config = new(FORCE_MAP)
#else
config = new
#endif
return ..()


Expand Down

0 comments on commit 2ff5e1a

Please sign in to comment.