Merge pull request #12 from rakiru/patch-1
Fix generation bonus not applying while closedpull/13/head
commit
513d658a05
|
@ -437,7 +437,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
|
this_plant.ticks += ticks_to_add * (0.2 * (self.generation - 1) + 1)
|
||||||
return this_plant
|
return this_plant
|
||||||
|
|
||||||
def plant_age_convert(self,this_plant):
|
def plant_age_convert(self,this_plant):
|
||||||
|
|
Loading…
Reference in New Issue