mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Fixes an issue with raging mages and slightly cleans up the code around it (#21931)
* The thingy * Henri review
This commit is contained in:
@@ -164,11 +164,7 @@
|
||||
|
||||
// Wizards
|
||||
for(var/datum/mind/wizard in wizards)
|
||||
if(!iscarbon(wizard.current))
|
||||
continue
|
||||
if(wizard.current.stat==DEAD)
|
||||
continue
|
||||
if(istype(wizard.current, /obj/item/mmi)) // wizard is in an MMI, don't count them as alive
|
||||
if(!iscarbon(wizard.current || wizard.current.stat == DEAD) || istype(wizard.current, /obj/item/mmi)) // wizard is in an MMI, don't count them as alive
|
||||
continue
|
||||
wizards_alive++
|
||||
|
||||
|
||||
Reference in New Issue
Block a user