diff --git a/code/modules/food/kitchen/cooking_machines/_cooker.dm b/code/modules/food/kitchen/cooking_machines/_cooker.dm index 65f18607e0d..09a65140b39 100644 --- a/code/modules/food/kitchen/cooking_machines/_cooker.dm +++ b/code/modules/food/kitchen/cooking_machines/_cooker.dm @@ -80,7 +80,7 @@ if(istype(I) && can_insert(I)) // Why do hard work when we can just make them smack us? attackby(I, ui.user) - else if(istype(CI)) + else if(istype(CI) && can_remove_items(ui.user)) eject(CI, ui.user) return TRUE if(istype(I)) // Why do hard work when we can just make them smack us? diff --git a/code/modules/food/kitchen/cooking_machines/_mixer.dm b/code/modules/food/kitchen/cooking_machines/_mixer.dm index ba0ad212179..f5bfc9ce3f6 100644 --- a/code/modules/food/kitchen/cooking_machines/_mixer.dm +++ b/code/modules/food/kitchen/cooking_machines/_mixer.dm @@ -46,7 +46,7 @@ fundamental differences to_chat(usr, span_notice("You can't operate [src].")) return - if(output_options.len) + if(LAZYLEN(output_options)) var/choice = tgui_input_list(usr, "What specific food do you wish to make with \the [src]?", "Food Output Choice", output_options) if(!choice) return