瀏覽代碼

修改bug

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;
+        }
 
 
         //主线任务只能刷一次