From d3a6eaa882744d0d7ad22a6150c90b1ee6f0be20 Mon Sep 17 00:00:00 2001 From: shenjianxing <”315615051@qq.com“> Date: Sat, 8 Mar 2025 14:42:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A9=BA=E5=88=A4=E6=96=AD?= 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 44b39142..61fade8c 100644 --- a/Assets/Scripts/Controller/OperationController.cs +++ b/Assets/Scripts/Controller/OperationController.cs @@ -117,7 +117,7 @@ public class OperationController : MonoSingleton public void Clear() { index = -1; - curAction.Deinit(); + curAction?.Deinit(); operation = null; steps.Clear(); curOperations.Clear();