diff --git a/source/component/menubar.py b/source/component/menubar.py index 808cff4..4cb2e32 100755 --- a/source/component/menubar.py +++ b/source/component/menubar.py @@ -271,6 +271,8 @@ class MenuBar(): def increaseSunValue(self, value): self.sun_value += value + if self.sun_value > 9990: + self.sun_value = 9990 def setCardFrozenTime(self, plant_name): for card in self.card_list: