From 808cfd917369f7769ca193d5a5f7081fdf26e661 Mon Sep 17 00:00:00 2001 From: shenjianxing <”315615051@qq.com“> Date: Mon, 30 Dec 2024 15:00:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=BB=E8=BE=91=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0reset=E5=BD=93=E5=89=8D=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Controller/OperationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Controller/OperationController.cs b/Assets/Scripts/Controller/OperationController.cs index dfad5464..07853dce 100644 --- a/Assets/Scripts/Controller/OperationController.cs +++ b/Assets/Scripts/Controller/OperationController.cs @@ -147,7 +147,7 @@ public class OperationController : MonoSingleton else if (this.index > targetIndex) { var seq = ActionKit.Sequence(); - for (int i = this.index; i > targetIndex; i--) + for (int i = this.index; i >= targetIndex; i--) { // ö ֱ IAction resetAction = ActionHelper.GetActionAndSub(steps[i].Reset);