lzx преди 1 седмица
родител
ревизия
0ed745dd3b
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      Assets/Scripts/GameUI/EventManager/EventSystemManager.cs

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

@@ -1008,6 +1008,7 @@ public class EventSystemManager : Singleton<EventSystemManager>
 
         if (eventConfig.EventTriggerType == 4)
         {
+            eventList.isCompleted = true;
             AccountFileInfo.Instance.playerData.completeEvents.Add(eventList);
             AccountFileInfo.Instance.playerData.eventList.Remove(eventList);
             TaskInfoPanel taskInfoPanel = await TaskInfoPanel.OpenPanel(eventList, 2);