lzx hai 1 mes
pai
achega
1dddb42042
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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);
         AccountFileInfo.EventList eventList = null;
+        if (eventConfig.ID == 0)
+        {
+            return null;
+        }
 
 
         //主线任务只能刷一次