Skip to content

Commit

Permalink
Map generators run early (#11449)
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon authored Sep 8, 2024
1 parent c434327 commit 4b1aa7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/__DEFINES/subsystems.dm
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
#define INIT_ORDER_XKEYSCORE -10
#define INIT_ORDER_STICKY_BAN -10
#define INIT_ORDER_LIGHTING -20
#define INIT_ORDER_SHUTTLE -21
#define INIT_ORDER_SHUTTLE -21 // After atoms have been initialised to prevent mix-ups
#define INIT_ORDER_ZCOPY -22 // this should go after lighting and most objects being placed
#define INIT_ORDER_MINOR_MAPPING -40
#define INIT_ORDER_PATH -50
Expand Down
2 changes: 2 additions & 0 deletions code/controllers/subsystem/async_map_generator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ SUBSYSTEM_DEF(async_map_generator)
name = "Async Map Generator"
wait = 1
flags = SS_TICKER | SS_NO_INIT
init_stage = INITSTAGE_EARLY
// We need to be running while shuttles are loading
runlevels = ALL

/// List of all currently executing generator datums
Expand Down

0 comments on commit 4b1aa7f

Please sign in to comment.