From be635bd6c02720394c2bb355308d235c3f2b384e Mon Sep 17 00:00:00 2001 From: lizardqueenlexi <105025397+lizardqueenlexi@users.noreply.github.com> Date: Thu, 8 Sep 2022 07:22:04 -0500 Subject: [PATCH] Fixed a bug that causes sliced food to have significantly fewer reagents than intended. (#69733) --- code/datums/components/food/edible.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/food/edible.dm b/code/datums/components/food/edible.dm index eb1f806101e..92c6b968365 100644 --- a/code/datums/components/food/edible.dm +++ b/code/datums/components/food/edible.dm @@ -222,7 +222,7 @@ Behavior that's still missing from this component that original food items had t volume = max(volume, ROUND_UP(original_atom.reagents.maximum_volume / chosen_processing_option[TOOL_PROCESSING_AMOUNT])) this_food.create_reagents(volume) - original_atom.reagents.copy_to(this_food, original_atom.reagents.total_volume, 1 / chosen_processing_option[TOOL_PROCESSING_AMOUNT]) + original_atom.reagents.copy_to(this_food, original_atom.reagents.total_volume / chosen_processing_option[TOOL_PROCESSING_AMOUNT], 1) if(original_atom.name != initial(original_atom.name)) this_food.name = "slice of [original_atom.name]"