Fix the fix for generation bonus
parent
6dd0cc9d0d
commit
63b39f92be
|
@ -446,7 +446,7 @@ class DataManager(object):
|
|||
self.last_water_gain = time.time()
|
||||
else:
|
||||
ticks_to_add = 0
|
||||
this_plant.ticks += ticks_to_add * (0.2 * (self.generation - 1) + 1)
|
||||
this_plant.ticks += ticks_to_add * (0.2 * (this_plant.generation - 1) + 1)
|
||||
return this_plant
|
||||
|
||||
def plant_age_convert(self,this_plant):
|
||||
|
|
Loading…
Reference in New Issue