diff --git a/AxibugEmuOnline.Client/Assets/Script/UI/MenuItemController.cs b/AxibugEmuOnline.Client/Assets/Script/UI/MenuItemController.cs index 7a67fca..8c4fdbd 100644 --- a/AxibugEmuOnline.Client/Assets/Script/UI/MenuItemController.cs +++ b/AxibugEmuOnline.Client/Assets/Script/UI/MenuItemController.cs @@ -92,7 +92,7 @@ namespace AxibugEmuOnline.Client else CommandDispatcher.Instance.UnRegistController(this); - if(!value) + if (!value) ResetPulsInvoker(); } } @@ -100,7 +100,7 @@ namespace AxibugEmuOnline.Client public abstract void Init(List menuDataList); - private void OnDestroy() + protected override void OnDestroy() { if (CommandDispatcher.Instance != null) CommandDispatcher.Instance.UnRegistController(this);