浏览代码

快速挑战一次体力显示错误

zhaoyang 3 年之前
父节点
当前提交
e4541ccf4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightQuicklyView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightQuicklyView.cs

@@ -147,7 +147,7 @@ namespace GFGGame
                 if (_type == ConstInstanceZonesType.Story && _storyType == ConstInstanceZonesSubType.Normal)
                 {
                     _ui.m_btnFightTimes.visible = true;
-                    times = GameConst.MAX_COUNT_FIGHT_QUICKLY;
+                    times = _fightType == 1 ? 1 : GameConst.MAX_COUNT_FIGHT_QUICKLY;
                 }
                 _ui.m_txtPowerDesc.visible = _ui.m_btnFightTimes.visible;