Explorar o código

Merge branch 'master' of http://192.168.123.2:3000/ck/XiuXianGame

zg hai 2 días
pai
achega
50dc4425b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Assets/Scripts/GameUI/EventManager/EventSystemManager.cs

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

@@ -1131,7 +1131,7 @@ public class EventSystemManager : Singleton<EventSystemManager>
             eventList.isCompleted = true;
         }
 
-        if (itemInfos != null || itemInfos.Count > 0)
+        if (itemInfos != null && itemInfos.Count > 0)
         {
             RewardsPanel rewardsPanel = await RewardsPanel.OpenPanel(itemInfos);
             await rewardsPanel.UIClosed();