Merge pull request #3491 from Citadel-Station-13/upstream-merge-31851

[MIRROR] Fixes liches not blocking roundend properly.
This commit is contained in:
LetterJay
2017-10-19 09:08:25 -04:00
committed by GitHub
+5 -1
View File
@@ -45,7 +45,11 @@
/datum/game_mode/wizard/check_finished()
for(var/datum/mind/wizard in wizards)
if(isliving(wizard.current) && wizard.current.stat!=DEAD)
return ..()
return FALSE
for(var/obj/item/phylactery/P in GLOB.poi_list) //TODO : IsProperlyDead()
if(P.mind && P.mind.has_antag_datum(/datum/antagonist/wizard))
return FALSE
if(SSevents.wizardmode) //If summon events was active, turn it off
SSevents.toggleWizardmode()