Make autochef ignore abstract items (#29277)

* make autochef ignore abstract items

* Update code/modules/cooking/autochef/autochef.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Signed-off-by: Toastical <20125180+Toastical@users.noreply.github.com>

---------

Signed-off-by: Toastical <20125180+Toastical@users.noreply.github.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
This commit is contained in:
Toastical
2025-05-15 20:13:21 +03:00
committed by GitHub
parent 32918824a7
commit f5e7e3b5cd
+1 -1
View File
@@ -73,7 +73,7 @@ RESTRICT_TYPE(/obj/machinery/autochef)
current_state = AUTOCHEF_IDLE
/obj/machinery/autochef/item_interaction(mob/living/user, obj/item/used, list/modifiers)
if(istype(used, /obj/item/storage/part_replacer))
if(istype(used, /obj/item/storage/part_replacer) || (used.flags & ABSTRACT))
return ..()
var/obj/item/autochef_remote/remote = used