修复灵灯bug

This commit is contained in:
2026-07-05 23:06:35 +08:00
parent 4580a10668
commit ff27b3a805
+3 -3
View File
@@ -199,13 +199,13 @@ namespace IndianOceanAssets.Engine2_5D
{ {
_recalled = true; _recalled = true;
// 先取消订阅,再触发通知 // 先触发通知(返还名额),再取消订阅
OnLanternRecalled?.Invoke();
if (_ownerSystem != null) if (_ownerSystem != null)
{ {
_ownerSystem.UnregisterLantern(this); _ownerSystem.UnregisterLantern(this);
} }
OnLanternRecalled?.Invoke();
OnLanternRecalled = null; OnLanternRecalled = null;
} }
} }