Correct growth rate display
parent
c7ede5e854
commit
7c2282df5d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue