瀏覽代碼

战斗结算失败快速点击会点掉提示

zhaoyang 2 年之前
父節點
當前提交
f651e1d450
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StroyFightResultView.cs

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

@@ -126,6 +126,7 @@ namespace GFGGame
             _ui.m_comResult.m_txtScore.text = "" + _resultData.Score;
             RoleInfoManager.Instance.UpdateHeadWithLv1(_ui.m_comExpBar.m_comHead, RoleDataManager.headId, RoleDataManager.headBorderId, RoleDataManager.lvl);
 
+            _ui.m_btnClose.enabled = false;
             if (!this._resultData.Result)
             {
                 _ui.m_comExpBar.target.visible = false;
@@ -134,7 +135,6 @@ namespace GFGGame
             else
             {
                 _ui.m_comExpBar.target.visible = true;
-                _ui.m_btnClose.enabled = false;
 
                 StoryLevelCfg _levelCfg = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId);
                 StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID);