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-29 21:21:55 -04:00
committed by GitHub
parent c6205dd063
commit 44f88e49be
9 changed files with 25 additions and 14 deletions
+2 -4
View File
@@ -280,12 +280,9 @@
if(cult_ascendent)
return
#ifdef UNIT_TESTS
// This proc is unnecessary clutter whilst running cult related unit tests
// Remove this if, at some point, someone decides to test that halos and eyes are added at expected ratios
return
#endif
#ifndef UNIT_TESTS
var/alive = 0
var/cultplayers = 0
for(var/I in GLOB.player_list)
@@ -315,6 +312,7 @@
mind.current.AddElement(/datum/element/cult_halo)
cult_ascendent = TRUE
log_game("The blood cult has ascended with [cultplayers] players.")
#endif
/datum/team/cult/add_member(datum/mind/new_member)
. = ..()