Revolutions won't lose if all rev heads lose their connections (#17461)

Fixes 13039 (which was also #15159 and #17452
This commit is contained in:
Incoming5643
2016-05-09 02:00:47 -05:00
committed by KorPhaeron
parent e72d6c32f9
commit 86ca9d3914
+1 -1
View File
@@ -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