Skip to content

Commit f5e7e3b

Browse files
ToasticalContrabangwarriorstar-orion
authored
Make autochef ignore abstract items (#29277)
* make autochef ignore abstract items * Update code/modules/cooking/autochef/autochef.dm Co-authored-by: Contrabang <[email protected]> Signed-off-by: Toastical <[email protected]> --------- Signed-off-by: Toastical <[email protected]> Co-authored-by: Contrabang <[email protected]> Co-authored-by: warriorstar-orion <[email protected]>
1 parent 3291882 commit f5e7e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/modules/cooking/autochef/autochef.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RESTRICT_TYPE(/obj/machinery/autochef)
7373
current_state = AUTOCHEF_IDLE
7474

7575
/obj/machinery/autochef/item_interaction(mob/living/user, obj/item/used, list/modifiers)
76-
if(istype(used, /obj/item/storage/part_replacer))
76+
if(istype(used, /obj/item/storage/part_replacer) || (used.flags & ABSTRACT))
7777
return ..()
7878

7979
var/obj/item/autochef_remote/remote = used

0 commit comments

Comments
 (0)