Plants in Gaia'ed hydro trays are no longer taken over by weed… (#47722)

This commit is contained in:
Firecage
2019-11-13 03:03:56 -08:00
committed by Rob Bailey
parent 8aa598ba88
commit 9543ab6b1c
+1 -1
View File
@@ -227,7 +227,7 @@
adjustWeeds(1 / rating)
// Weeeeeeeeeeeeeeedddssss
if(weedlevel >= 10 && prob(50)) // At this point the plant is kind of fucked. Weeds can overtake the plant spot.
if(weedlevel >= 10 && prob(50) && !self_sustaining) // At this point the plant is kind of fucked. Weeds can overtake the plant spot.
if(myseed)
if(!myseed.get_gene(/datum/plant_gene/trait/plant_type/weed_hardy) && !myseed.get_gene(/datum/plant_gene/trait/plant_type/fungal_metabolism)) // If a normal plant
weedinvasion()