From 6f57af4f953008aa87a907ccf5d3dc61ea383aa2 Mon Sep 17 00:00:00 2001 From: Nathan Winters <100448493+CinnamonSnowball@users.noreply.github.com> Date: Mon, 22 May 2023 22:27:02 +0200 Subject: [PATCH] Fix plant reagent genes producing more chemicals than expected (#21126) --- code/modules/hydroponics/seeds.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/hydroponics/seeds.dm b/code/modules/hydroponics/seeds.dm index c7de513e5dd..31567edb736 100644 --- a/code/modules/hydroponics/seeds.dm +++ b/code/modules/hydroponics/seeds.dm @@ -168,7 +168,7 @@ CRASH("[T] has no reagents.") for(var/rid in reagents_add) - var/amount = 1 + round(potency * reagents_add[rid], 1) + var/amount = max(round(potency * reagents_add[rid], 1), 1) var/list/data = null if(rid == "blood") // Hack to make blood in plants always O-