lzx преди 1 месец
родител
ревизия
1dddb42042
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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;
+        }
 
 
         //主线任务只能刷一次