Fix the fix for generation bonus

pull/13/head
Leagsaidh Gordon 2018-06-05 01:05:07 +01:00 committed by GitHub
parent 6dd0cc9d0d
commit 63b39f92be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ class DataManager(object):
self.last_water_gain = time.time() self.last_water_gain = time.time()
else: else:
ticks_to_add = 0 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 return this_plant
def plant_age_convert(self,this_plant): def plant_age_convert(self,this_plant):