mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user