From ccb52450af5992927693eac758e19fb37cb4f53d Mon Sep 17 00:00:00 2001 From: wszqkzqk Date: Fri, 24 Nov 2023 10:29:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E5=A4=9C=E6=99=9A=E5=85=B3=E5=8D=A1?= =?UTF-8?q?=E4=B8=8D=E6=8E=A8=E8=8D=90=E9=80=89=E6=8B=A9=E5=92=96=E5=95=A1?= =?UTF-8?q?=E8=B1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/component/menubar.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/component/menubar.py b/source/component/menubar.py index 4e119a15..5a476a93 100755 --- a/source/component/menubar.py +++ b/source/component/menubar.py @@ -286,6 +286,9 @@ def setupCards(self, card_list): elif (plant_name in c.CAN_SLEEP_PLANTS and self.background_type in c.DAYTIME_BACKGROUNDS): not_recommend = c.REASON_WILL_SLEEP + elif (plant_name == c.COFFEEBEAN + and self.background_type not in c.DAYTIME_BACKGROUNDS): + not_recommend = c.REASON_OTHER # 还有屋顶场景,以及其他植物没有实现的植物没有写进来 else: not_recommend = 0