Merge pull request #15576 from Putnam3145/fix-recycler-runtime

Fix recycler runtime
This commit is contained in:
Lin
2022-04-02 07:17:31 +00:00
committed by GitHub

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 || TRUE
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.