From e965731cf70e2e5c2c8584bcf38cd32a822075c2 Mon Sep 17 00:00:00 2001 From: Bobbahbrown Date: Sat, 13 Jul 2019 23:13:57 -0300 Subject: [PATCH] Fix scanning mutated seeds expending their value (#45158) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit a little bit of dry run for all my thirsty gamers! 💦💦💦💦 --- code/modules/cargo/exports/seeds.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/cargo/exports/seeds.dm b/code/modules/cargo/exports/seeds.dm index a879b0c4fef..d8375028e06 100644 --- a/code/modules/cargo/exports/seeds.dm +++ b/code/modules/cargo/exports/seeds.dm @@ -14,9 +14,9 @@ return 0 return ..() * S.rarity // That's right, no bonus for potency. Send a crappy sample first to "show improvement" later. -/datum/export/seed/sell_object(obj/O) +/datum/export/seed/sell_object(obj/O, datum/export_report/report, dry_run, allowed_categories, apply_elastic) . = ..() - if(.) + if(. && !dry_run) var/obj/item/seeds/S = O discoveredPlants[S.type] = S.potency