Fixes liches not blocking roundend properly. (#31851)

This commit is contained in:
AnturK
2017-10-19 01:26:25 +02:00
committed by CitadelStationBot
parent fa7bbd50e5
commit daeffc5b03

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()