From ff27b3a8050d80618a66d7253345d04eee1a8055 Mon Sep 17 00:00:00 2001 From: keshaohong <740612340@qq.com> Date: Sun, 5 Jul 2026 23:06:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=81=B5=E7=81=AFbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unity/Assets/eco/SpiritLantern.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unity/Assets/eco/SpiritLantern.cs b/unity/Assets/eco/SpiritLantern.cs index 0128b52..8ef6aad 100644 --- a/unity/Assets/eco/SpiritLantern.cs +++ b/unity/Assets/eco/SpiritLantern.cs @@ -199,13 +199,13 @@ namespace IndianOceanAssets.Engine2_5D { _recalled = true; - // 先取消订阅,再触发通知 + // 先触发通知(返还名额),再取消订阅 + OnLanternRecalled?.Invoke(); + if (_ownerSystem != null) { _ownerSystem.UnregisterLantern(this); } - - OnLanternRecalled?.Invoke(); OnLanternRecalled = null; } }