From 4ece26aaf4b5dbb673d5a789a87ef9985bcfebf6 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Wed, 10 May 2023 14:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=83=E7=95=8C=E8=AF=95=E7=82=BC=E8=BE=93?= =?UTF-8?q?=E4=BA=86=E4=B9=9F=E6=B6=88=E8=80=97=E6=8C=91=E6=88=98=E6=AC=A1?= =?UTF-8?q?=E6=95=B0bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua index 3d3948071e..300431e42c 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua @@ -630,12 +630,12 @@ function this.ShowBattleResult(result, msg) --只显示胜利界面 UIManager.OpenPanel(UIName.BattleWinPopup, this, isBack, fightType, this.lastBattleResult) elseif BattleManager.GetLastBattleType()==BATTLE_TYPE.QIJIE_FIGHT then - PrivilegeManager.RefreshPrivilegeUsedTimes(3201, 1)--更新特权 LogRed("result:"..tostring(result)) if result == 0 then -- 失败 local haveRecord = BattleRecordManager.isHaveRecord() UIManager.OpenPanel(UIName.BattleFailPopup, this, haveRecord,nil,fightType) else -- 胜利 + PrivilegeManager.RefreshPrivilegeUsedTimes(3201, 1)--更新特权 UIManager.OpenPanel(UIName.BattleWinPopup, this, isBack, fightType, this.lastBattleResult) end else