From 7c2282df5d32d2871f851b016f94239473ed3ac0 Mon Sep 17 00:00:00 2001 From: Jake Funke Date: Wed, 3 May 2017 23:43:58 +0000 Subject: [PATCH] Correct growth rate display --- menu_screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu_screen.py b/menu_screen.py index 68fb32b..96a8273 100644 --- a/menu_screen.py +++ b/menu_screen.py @@ -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