【巅峰赛】 竞猜结果前端显示错误
parent
f5823409cf
commit
972e83ec2f
|
|
@ -103,10 +103,10 @@ function this.RefreshData(go, itemData)
|
||||||
local personInfo1uid = tonumber(personInfo[1].uid)
|
local personInfo1uid = tonumber(personInfo[1].uid)
|
||||||
local personInfo2uid = tonumber(personInfo[2].uid)
|
local personInfo2uid = tonumber(personInfo[2].uid)
|
||||||
LogBlue("battleInfo.fightResult "..battleInfo.fightResult.." itemData.betResult "..itemData.betResult)
|
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)
|
sheng.transform:SetParent(shengOrBaiParent1.transform)
|
||||||
bai.transform:SetParent(shengOrBaiParent2.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)
|
sheng.transform:SetParent(shengOrBaiParent2.transform)
|
||||||
bai.transform:SetParent(shengOrBaiParent1.transform)
|
bai.transform:SetParent(shengOrBaiParent1.transform)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue