From ed6483180c411982ae04081dde8e7fc0e3bd2fc7 Mon Sep 17 00:00:00 2001 From: Helg2 <93882977+Helg2@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:52:58 +0200 Subject: [PATCH] Fixes nutriment `on_merge` runtime. (#845) Update food.dm --- code/modules/reagents/reagents/food.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/reagents/food.dm b/code/modules/reagents/reagents/food.dm index a911194e60e..cf9db71fda7 100644 --- a/code/modules/reagents/reagents/food.dm +++ b/code/modules/reagents/reagents/food.dm @@ -62,7 +62,7 @@ // where all the ratio values adds up to 1 var/list/taste_amounts = list() - if(data) + if(length(data)) taste_amounts = data.Copy() counterlist_scale(taste_amounts, volume)