From 972e83ec2fab89426d3b8621bfcbf07c191d3713 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Mon, 14 Dec 2020 00:20:10 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=B7=85=E5=B3=B0=E8=B5=9B=E3=80=91?= =?UTF-8?q?=20=E7=AB=9E=E7=8C=9C=E7=BB=93=E6=9E=9C=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/ArenaTopMatch/ATMMyGuessHistoryPopup.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/ArenaTopMatch/ATMMyGuessHistoryPopup.lua b/Assets/ManagedResources/~Lua/Modules/ArenaTopMatch/ATMMyGuessHistoryPopup.lua index 72dcf695eb..43649b7bcd 100644 --- a/Assets/ManagedResources/~Lua/Modules/ArenaTopMatch/ATMMyGuessHistoryPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/ArenaTopMatch/ATMMyGuessHistoryPopup.lua @@ -103,10 +103,10 @@ function this.RefreshData(go, itemData) local personInfo1uid = tonumber(personInfo[1].uid) local personInfo2uid = tonumber(personInfo[2].uid) LogBlue("battleInfo.fightResult "..battleInfo.fightResult.." itemData.betResult "..itemData.betResult) - if betResult > 1 and betResult ==personInfo1uid then + if betResult > 1 and betResult ==personInfo1uid and itemData.myWinCoins > 0 then sheng.transform:SetParent(shengOrBaiParent1.transform) bai.transform:SetParent(shengOrBaiParent2.transform) - elseif betResult > 1 and betResult == personInfo2uid then + elseif betResult > 1 and betResult == personInfo2uid and itemData.myWinCoins > 0 then sheng.transform:SetParent(shengOrBaiParent2.transform) bai.transform:SetParent(shengOrBaiParent1.transform) end