Ver Fonte

InstanceZonesDataManager.currentLevelCfgId 赋值位置修改

huangxiaoyue há 1 ano atrás
pai
commit
05f258479e

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