From 8202acabe4e9d0bdffb79f6e7ae49b461b2554b7 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:18:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9F=BA=E5=BB=BA=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E6=9C=9F=E5=A2=9E=E5=8A=A0=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Helper/ConfigConverter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MaaWpfGui/Helper/ConfigConverter.cs b/src/MaaWpfGui/Helper/ConfigConverter.cs index 2cb3cd1bed..fc4df22c30 100644 --- a/src/MaaWpfGui/Helper/ConfigConverter.cs +++ b/src/MaaWpfGui/Helper/ConfigConverter.cs @@ -275,6 +275,7 @@ public class ConfigConverter catch { } + infrastTask.PlanSelect = Math.Clamp(infrastTask.PlanSelect, -1, infrastTask.InfrastPlan.Count - 1); infrastTask.RoomList = []; var roomTypes = Enum.GetNames();