Browse Source

Merge remote-tracking branch 'remotes/origin/dev' into douYou

hexiaojie 1 year ago
parent
commit
db7b1d2893
1 changed files with 1 additions and 0 deletions
  1. 1 0
      GameClient/Assets/Game/HotUpdate/Data/InstanceZonesDataManager.cs

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Data/InstanceZonesDataManager.cs

@@ -215,6 +215,7 @@ namespace GFGGame
             foreach (var item in _starDic)
             {
                 var levelCfg = StoryLevelCfgArray.Instance.GetCfg(item.Key);
+                if (levelCfg == null) continue;
                 if (levelCfg.chapterId == chapterID && levelCfg.type == type && levelCfg.subType == subType)
                 {
                     star += item.Value;