From 8678580899d787cea3befb65e31ed8fa59b19ecf Mon Sep 17 00:00:00 2001 From: moesnow <11678347+moesnow@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:17:42 +0800 Subject: [PATCH] Fix: #389 --- assets/docs/Changelog.md | 3 ++- tasks/activity/activitytemplate.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/docs/Changelog.md b/assets/docs/Changelog.md index d006674e..2abddb6e 100644 --- a/assets/docs/Changelog.md +++ b/assets/docs/Changelog.md @@ -1,6 +1,6 @@ # 更新日志 -## v2.6.2 +## v2.6.3 ### 新功能 - 支持 2.6 版本新增关卡和角色(乱破) @@ -16,6 +16,7 @@ - 手动修改配置文件会被图形界面覆盖 [#341](https://github.com/moesnow/March7thAssistant/issues/341) [#379](https://github.com/moesnow/March7thAssistant/issues/379) - 游戏窗口位于多显示器副屏时截图内容全黑或坐标偏移 [#378](https://github.com/moesnow/March7thAssistant/pull/378) [#384](https://github.com/moesnow/March7thAssistant/pull/384) - 暗黑主题下首次启动程序后账号列表背景色异常 +- 存在“花藏繁生”活动但未启用的情况下进入死循环 ## v2.5.4 diff --git a/tasks/activity/activitytemplate.py b/tasks/activity/activitytemplate.py index 01cc6a7a..8a35a247 100644 --- a/tasks/activity/activitytemplate.py +++ b/tasks/activity/activitytemplate.py @@ -13,7 +13,7 @@ def __init__(self, name, enabled): def start(self): if not self.enabled: log.info(f"{self.name}未开启") - return + return True self.prepare() return self.run()