From ca414ca71255caf3abfb47142a495517be5d7476 Mon Sep 17 00:00:00 2001 From: Cognition Date: Fri, 22 Jul 2022 16:32:05 -0600 Subject: [PATCH] Grown inedibles now properly take seed stats into account --- code/modules/hydroponics/growninedible.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/hydroponics/growninedible.dm b/code/modules/hydroponics/growninedible.dm index c8c6195d5a..3c59deafdc 100644 --- a/code/modules/hydroponics/growninedible.dm +++ b/code/modules/hydroponics/growninedible.dm @@ -9,7 +9,7 @@ var/obj/item/seeds/seed = null // type path, gets converted to item on New(). It's safe to assume it's always a seed item. var/tastes = list("indescribable" = 1) //Stops runtimes. Grown are un-eatable anyways so if you do then its a bug -/obj/item/grown/Initialize(mapload, newloc, obj/item/seeds/new_seed) +/obj/item/grown/Initialize(mapload, obj/item/seeds/new_seed) . = ..() create_reagents(50, NONE, HARVEST_REAGENTS_VALUE) @@ -25,7 +25,7 @@ if(seed) for(var/datum/plant_gene/trait/T in seed.genes) - T.on_new(src, newloc) + T.on_new(src, loc) if(istype(src, seed.product)) // no adding reagents if it is just a trash item seed.prepare_result(src)