feat: 选择刷源石锭策略时强制启用投资选项

This commit is contained in:
SherkeyXD
2023-07-24 16:19:16 +08:00
parent c04cc34274
commit 06bed9dbd8

View File

@@ -1557,6 +1557,12 @@ namespace MaaWpfGui.Main
["stop_when_investment_full"] = stop_when_full,
["theme"] = theme,
};
if (mode == 1)
{
task_params["investment_enabled"] = true;
}
if (squad.Length > 0)
{
task_params["squad"] = squad;