From 86ca9d391464e200bc7942ffac87df7189aa9e4d Mon Sep 17 00:00:00 2001 From: Incoming5643 Date: Mon, 9 May 2016 02:00:47 -0500 Subject: [PATCH] Revolutions won't lose if all rev heads lose their connections (#17461) Fixes 13039 (which was also #15159 and #17452 --- code/game/gamemodes/revolution/revolution.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/gamemodes/revolution/revolution.dm b/code/game/gamemodes/revolution/revolution.dm index 277027ca37a..8c6d2944c30 100644 --- a/code/game/gamemodes/revolution/revolution.dm +++ b/code/game/gamemodes/revolution/revolution.dm @@ -315,7 +315,7 @@ /datum/game_mode/revolution/proc/check_heads_victory() for(var/datum/mind/rev_mind in head_revolutionaries) var/turf/T = get_turf(rev_mind.current) - if((rev_mind) && (rev_mind.current) && (rev_mind.current.stat != 2) && rev_mind.current.client && T && (T.z == ZLEVEL_STATION)) + if((rev_mind) && (rev_mind.current) && (rev_mind.current.stat != 2) && T && (T.z == ZLEVEL_STATION)) if(ishuman(rev_mind.current)) return 0 return 1