Processor conveyor actions now only check if humans are lying down (#36207)

Co-authored-by: SECBATON-GRIFFON <kanef9x@protonmail.com>
This commit is contained in:
SECBATON GRIFFON
2024-03-27 08:36:11 +00:00
committed by GitHub
parent b3382eb75c
commit 63f88548cc

View File

@@ -250,9 +250,9 @@
if(items_transferred == 0 && !is_full())
return FALSE
else
if(isliving(AM))
var/mob/living/L = AM
if(!L.lying)
if(ishuman(AM))
var/mob/living/carbon/human/H = AM
if(!H.lying)
return FALSE
var/datum/food_processor_process/P = select_recipe(AM)
if (!P)