From ae99f2eb0b0930f23a4c5072e19679a89d711ebb Mon Sep 17 00:00:00 2001 From: Leagsaidh Gordon Date: Tue, 5 Jun 2018 00:54:08 +0100 Subject: [PATCH] Fix generation bonus not applying while closed --- botany.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botany.py b/botany.py index c634fdf..ce59017 100755 --- a/botany.py +++ b/botany.py @@ -437,7 +437,7 @@ class DataManager(object): self.last_water_gain = time.time() else: ticks_to_add = 0 - this_plant.ticks += ticks_to_add + this_plant.ticks += ticks_to_add * (0.2 * (self.generation - 1) + 1) return this_plant def plant_age_convert(self,this_plant):