From b3967331b29ea2d4cd291505c8251089f3e654f3 Mon Sep 17 00:00:00 2001 From: SherkeyXD <253294679@qq.com> Date: Mon, 24 Jul 2023 16:19:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=80=89=E6=8B=A9=E5=88=B7=E6=BA=90?= =?UTF-8?q?=E7=9F=B3=E9=94=AD=E7=AD=96=E7=95=A5=E6=97=B6=E5=BC=BA=E5=88=B6?= =?UTF-8?q?=E5=90=AF=E7=94=A8=E6=8A=95=E8=B5=84=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Main/AsstProxy.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/MaaWpfGui/Main/AsstProxy.cs b/src/MaaWpfGui/Main/AsstProxy.cs index 01daa4a308..97bca91df0 100644 --- a/src/MaaWpfGui/Main/AsstProxy.cs +++ b/src/MaaWpfGui/Main/AsstProxy.cs @@ -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;