Fixes Clock Cult ending with dead cultists (#31504)

* Probably fixes premature CC ending

* I should make this commit into a 2nd PR for GBP
This commit is contained in:
Robustin
2017-10-10 13:38:24 -04:00
committed by CitadelStationBot
parent f8d0646b09
commit 0f61a5a5ee
@@ -183,6 +183,12 @@ Credit where due:
return TRUE
return FALSE
/datum/game_mode/clockwork_cult/check_finished()
var/obj/structure/destructible/clockwork/massive/celestial_gateway/G = GLOB.ark_of_the_clockwork_justiciar
if(G && !GLOB.ratvar_awakens) // Doesn't end until the Ark is destroyed or completed
return FALSE
. = ..()
/datum/game_mode/clockwork_cult/proc/check_clockwork_victory()
if(GLOB.clockwork_gateway_activated || SSshuttle.emergency.mode == SHUTTLE_ESCAPE)
SSticker.news_report = CLOCK_SUMMON