修复灵灯bug
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user