Correct growth rate display

pull/5/head
Jake Funke 2017-05-03 23:43:58 +00:00
parent c7ede5e854
commit 7c2282df5d
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ class CursedMenu(object):
if self.infotoggle != 1:
# get plant description before printing
output_string = self.get_plant_description(this_plant)
growth_multiplier = 1 + (0.2 * this_plant.generation)
growth_multiplier = 1 + (0.2 * (this_plant.generation-1))
output_string += "Generation: {}\nGrowth rate: {}".format(self.plant.generation, growth_multiplier)
self.draw_info_text(output_string)
self.infotoggle = 1