Browse Source

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

zhaoyang 2 years ago
parent
commit
f651e1d450

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