From 43318e9a1666872ddca921a3e6dce7c619f15858 Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Wed, 23 Jul 2025 16:57:20 -0700 Subject: [PATCH] [MIRROR] oven door shut (#11227) Co-authored-by: Cameron Lennox --- code/modules/food/kitchen/cooking_machines/_cooker.dm | 2 +- code/modules/food/kitchen/cooking_machines/_mixer.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/food/kitchen/cooking_machines/_cooker.dm b/code/modules/food/kitchen/cooking_machines/_cooker.dm index 65f18607e0..09a65140b3 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 ba0ad21217..f5bfc9ce3f 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