Browse Source

修改bug

lzx 2 ngày trước cách đây
mục cha
commit
45a7256e27
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      Assets/Scripts/GameUI/EventManager/EventSystemManager.cs

+ 2 - 0
Assets/Scripts/GameUI/EventManager/EventSystemManager.cs

@@ -776,6 +776,8 @@ public class EventSystemManager : Singleton<EventSystemManager>
                 CurrentEventList.isCompleted1 = true;
                 AccountFileInfo.Instance.SavePlayerData();
                 CombatDrive.Instance.CombatController.ChangeState(CombatController.update);
+                onCompleteCallback?.Invoke();
+                onCompleteCallback = null;
             }
 
             cTask.SetResult();