mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Quietens Spaceman when debugging UNIT_TESTS locally (#75570)
The contract is removed by virtue of testing.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user