瀏覽代碼

InstanceZonesDataManager.currentLevelCfgId 赋值位置修改

huangxiaoyue 1 年之前
父節點
當前提交
05f258479e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs

@@ -600,7 +600,6 @@ namespace GFGGame
             //         .SetRightButton(true, "好的");
             //     return;
             // }
-            InstanceZonesDataManager.currentLevelCfgId = _levelID;
 
             if (!CheckHasNeed())
             {
@@ -668,6 +667,8 @@ namespace GFGGame
 
         private void StartCalculateScore()
         {
+            InstanceZonesDataManager.currentLevelCfgId = _levelID;
+
             //不可移动代码位置
             bool hasFightTarget = _fightCfg.targetName != null && _fightCfg.targetName.Length > 0;
             if (_levelCfg.type == ConstInstanceZonesType.Field)