Browse Source

修改bug

lzx 1 day ago
parent
commit
1dddb42042
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Assets/Scripts/GameUI/EventManager/EventSystemManager.cs

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

@@ -423,6 +423,10 @@ public class EventSystemManager : Singleton<EventSystemManager>
     {
     {
         EventConfig eventConfig = ConfigComponent.Instance.Get<EventConfig>(eventID);
         EventConfig eventConfig = ConfigComponent.Instance.Get<EventConfig>(eventID);
         AccountFileInfo.EventList eventList = null;
         AccountFileInfo.EventList eventList = null;
+        if (eventConfig.ID == 0)
+        {
+            return null;
+        }
 
 
 
 
         //主线任务只能刷一次
         //主线任务只能刷一次