Browse Source

处理跳过引导直接打副本的报错,已测可更新

zhangyuqian 1 year ago
parent
commit
56a50e9394

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/MainStory/StroyFightResultView.cs

@@ -141,11 +141,11 @@ namespace GFGGame
             }
             _ui.m_comResult.m_t0.Play(AddExp);
 
-            StoryLevelCfg storylevel = StoryLevelCfgArray.Instance.GetCfg(MainStoryDataManager.currentLevelCfgId);
+            StoryLevelCfg storylevel = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId);
             if (_resultData.Result && storylevel.type == 6 && storylevel.subType == 2)
             {
                 await TimeTracingSProxy.ReqGetMaxLevelInfo(TimeTracingDataManager._currentChapterId);
-                await TimeTracingSProxy.ReqGetAppointLevelRewardStatus(MainStoryDataManager.currentLevelCfgId);
+                await TimeTracingSProxy.ReqGetAppointLevelRewardStatus(InstanceZonesDataManager.currentLevelCfgId);
                 await TimeTracingSProxy.ReqGetSuitRewardStatus();
             }
         }