From f91ccd93c25859f309ddbfdd5c7328cbc3ea21ac Mon Sep 17 00:00:00 2001 From: oranges Date: Sat, 9 Jul 2022 07:04:20 +1200 Subject: [PATCH] Custom reagent holders no longer blow through the overlay cap (#68205) --- code/datums/components/customizable_reagent_holder.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/customizable_reagent_holder.dm b/code/datums/components/customizable_reagent_holder.dm index 40135339167..a6ffadea6ab 100644 --- a/code/datums/components/customizable_reagent_holder.dm +++ b/code/datums/components/customizable_reagent_holder.dm @@ -28,7 +28,7 @@ atom/replacement, fill_type, ingredient_type = CUSTOM_INGREDIENT_TYPE_EDIBLE, - max_ingredients = MAX_ATOM_OVERLAYS - 2, + max_ingredients = MAX_ATOM_OVERLAYS - 3, // The cap is >= MAX_ATOM_OVERLAYS so we reserve 2 for top /bottom of item + 1 to stay under cap list/obj/item/initial_ingredients = null) if(!isatom(parent)) return COMPONENT_INCOMPATIBLE