wait, no, that's Lua-like, not even right

This commit is contained in:
Putnam3145
2022-03-30 14:55:15 -07:00
parent a819424088
commit 06bda8946a
+2 -2
View File
@@ -120,10 +120,10 @@
var/obj/item/bodypart/head/as_head = AM
var/obj/item/mmi/as_mmi = AM
if(istype(AM, /obj/item/organ/brain) || (istype(as_head) && as_head.brain) || (istype(as_mmi) && as_mmi.brain) || istype(AM, /obj/item/dullahan_relay))
living_detected = living_detected || AM
living_detected = living_detected ? living_detected : AM
nom += AM
else if(isliving(AM))
living_detected = living_detected || AM
living_detected = living_detected ? living_detected : AM
crunchy_nom += AM
var/not_eaten = to_eat.len - nom.len - crunchy_nom.len
if(living_detected) // First, check if we have any living beings detected.