Fix scanning mutated seeds expending their value (#45158)

a little bit of dry run for all my thirsty gamers! 💦💦💦💦
This commit is contained in:
Bobbahbrown
2019-07-13 19:13:57 -07:00
committed by Tad Hardesty
parent c33a401c9b
commit e965731cf7
+2 -2
View File
@@ -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