mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 02:54:44 +01:00
Prevent mice and satchels from randomly spawning when we're running unit tests (#70443)
This commit is contained in:
@@ -6,6 +6,9 @@ SUBSYSTEM_DEF(minor_mapping)
|
||||
flags = SS_NO_FIRE
|
||||
|
||||
/datum/controller/subsystem/minor_mapping/Initialize()
|
||||
#ifdef UNIT_TESTS // This whole subsystem just introduces a lot of odd confounding variables into unit test situations, so let's just not bother with doing an initialize here.
|
||||
return SS_INIT_NO_NEED
|
||||
#endif // the mice are easily the bigger problem, but let's just avoid anything that could cause some bullshit.
|
||||
trigger_migration(CONFIG_GET(number/mice_roundstart))
|
||||
place_satchels()
|
||||
return SS_INIT_SUCCESS
|
||||
|
||||
Reference in New Issue
Block a user