Quietens Spaceman when debugging UNIT_TESTS locally (#75570)

The contract is removed by virtue of testing.
This commit is contained in:
Jordan Dominion
2023-05-30 01:21:55 +00:00
committed by GitHub
parent c6205dd063
commit 44f88e49be
9 changed files with 25 additions and 14 deletions
+2 -1
View File
@@ -9,10 +9,11 @@ SUBSYSTEM_DEF(minor_mapping)
/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.
#else
trigger_migration(CONFIG_GET(number/mice_roundstart))
place_satchels()
return SS_INIT_SUCCESS
#endif // the mice are easily the bigger problem, but let's just avoid anything that could cause some bullshit.
/// Spawns some critters on exposed wires, usually but not always mice
/datum/controller/subsystem/minor_mapping/proc/trigger_migration(to_spawn=10)