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
@@ -615,7 +615,7 @@ SUBSYSTEM_DEF(air)
// In an ideal world, we would have absolutely zero active turfs 99.99% of the time, but that's not the case. `log_mapping()` during world initialize triggers a CI fail.
#ifdef UNIT_TESTS
return
#endif
#else
// Associated lists, left-hand-side is the z-level or z-trait, right-hand-side is the number of active turfs associated with that.
var/list/tally_by_level = list()
// Discriminate for certain z-traits, stuff like "Linkage" is not helpful.
@@ -672,6 +672,7 @@ SUBSYSTEM_DEF(air)
message_to_log += "End of active turf list."
log_mapping(message_to_log.Join("\n"))
#endif
/turf/open/proc/resolve_active_graph()
. = list()