fix: 修复详细模式下非定时自定义基建无法正常换班的问题

This commit is contained in:
DLmaster361
2025-05-05 15:59:07 +08:00
parent 24b93cfcad
commit 19d1dc9f28
3 changed files with 18 additions and 2 deletions

View File

@@ -617,7 +617,7 @@ class MaaUserConfig(QConfig):
class AppConfig(GlobalConfig):
VERSION = "4.3.6.3"
VERSION = "4.3.6.4"
gameid_refreshed = Signal()
PASSWORD_refreshed = Signal()

View File

@@ -1392,6 +1392,17 @@ class MaaManager(QObject):
"Fight.UseRemainingSanityStage"
] = "True" # 使用剩余理智
# 基建模式
if (
data["Configurations"]["Default"]["Infrast.InfrastMode"]
== "Custom"
):
data["Configurations"]["Default"][
"Infrast.CustomInfrastPlanIndex"
] = user_data["Data"][
"CustomInfrastPlanIndex"
] # 自定义基建配置索引
# 人工排查配置
elif "人工排查" in mode: