[MIRROR] Fixes Densified Chemicals (#2550)

* fixes densified (#55967)

Densified Chemicals broke with the food refactor. Food has a max_volume var that it uses to create the reagent container which was overriding the reagents.maximum_volume change. Now it changes the proper var and works again.

* Fixes Densified Chemicals

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-01-07 23:49:47 +01:00
committed by GitHub
co-authored by MrMelbert
parent fadfd56608
commit 36853dcdb8
+1 -1
View File
@@ -406,7 +406,7 @@
/datum/plant_gene/trait/maxchem/on_new(obj/item/food/grown/G, newloc)
..()
G.reagents.maximum_volume *= rate
G.max_volume *= rate
/datum/plant_gene/trait/repeated_harvest
name = "Perennial Growth"