Browse Source

修改引导

lzx 11 hours ago
parent
commit
d16e5e610d

+ 0 - 39
Assets/Res/Config/PlayerGuideConfig.json

@@ -857,45 +857,6 @@
       "ForceOnclick": 0,
       "forceText": 1,
       "voiceFile": ""
-    },
-    {
-      "ID": 502,
-      "Index": 2,
-      "NeedLevel": 0,
-      "groupID": 5,
-      "FingerType": 1,
-      "dialogPos": [
-        -182,
-        -517
-      ],
-      "NpcPos": [
-        422,
-        -100
-      ],
-      "NpcSize": [
-        500,
-        500
-      ],
-      "SpeakerName": 0,
-      "SpeakerStyle": 4,
-      "SpeakerImage": 3,
-      "desc": -1,
-      "ExtraShow": [
-        "0"
-      ],
-      "Highlighting": 1,
-      "blackAlpha": 0.0,
-      "Handle": 1,
-      "IsSkip": 0,
-      "TextSize": [
-        1240,
-        157
-      ],
-      "reversalFinger": 1,
-      "reversalBox": 2,
-      "ForceOnclick": 0,
-      "forceText": 1,
-      "voiceFile": ""
     }
   ]
 }

+ 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();