From 69ca3073c8a7133a98439c1a58f71a4f8dc72b40 Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Sun, 21 Apr 2024 17:11:29 -0400 Subject: [PATCH] [MIRROR] Fix oven tray runtime (#2120) * Fix oven tray runtime (#82782) ## About The Pull Request Fixes a lil typo from the interaction refactors that broke the ability to load oven trays from containers ## Why It's Good For The Game squamsh bug ## Changelog :cl: fix: loading oven trays from serving trays and other containers works again /:cl: * Fix oven tray runtime --------- Co-authored-by: FlufflesTheDog --- code/modules/food_and_drinks/machinery/oven.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/food_and_drinks/machinery/oven.dm b/code/modules/food_and_drinks/machinery/oven.dm index ef9aac9a410..c997f349241 100644 --- a/code/modules/food_and_drinks/machinery/oven.dm +++ b/code/modules/food_and_drinks/machinery/oven.dm @@ -264,7 +264,7 @@ if(isnull(item.atom_storage)) return NONE - if(length(contents >= max_items)) + if(length(contents) >= max_items) balloon_alert(user, "it's full!") return ITEM_INTERACT_BLOCKING