【巅峰赛】 竞猜结果前端显示错误

zhangqiang 2020-12-14 00:20:10 +08:00
parent f5823409cf
commit 972e83ec2f
1 changed files with 2 additions and 2 deletions

View File

@ -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