南城金溪少天地胡和平胡修复,修复精分字段没有报错
parent
08b2b90006
commit
d2a1f2249f
|
|
@ -1,7 +1,7 @@
|
|||
local EXTEND_MODEL_NAME = ...
|
||||
|
||||
local EXGameInfo = import(".EXGameInfo")
|
||||
local EXMainView = import(".EXMainView_jaingxi")
|
||||
local EXMainView = import(".EXMainView")
|
||||
local EXGameController = import(".EXGameController")
|
||||
local EXRoomConfig = import(".EXRoomConfig")
|
||||
local EXPlayBackView = import(".EXPlayBackView")
|
||||
|
|
|
|||
|
|
@ -122,6 +122,11 @@ function M:fillResult0(room, peopleNum, result)
|
|||
|
||||
self:fillHead(playInfo.self_user.head_url, playerInfoComp)
|
||||
|
||||
infoList.jing_score = infoList.jing_score or 0
|
||||
infoList.gang_score = infoList.gang_score or 0
|
||||
infoList.hu_score = infoList.hu_score or 0
|
||||
infoList.round_score = infoList.round_score or 0
|
||||
|
||||
playerInfoComp:GetChild("text_name").text = playInfo.self_user.nick_name
|
||||
playerInfoComp:GetChild("Text_BoJing").text = infoList.jing_score >= 0 and
|
||||
string.format("+%d", infoList.jing_score) or infoList.jing_score
|
||||
|
|
@ -179,7 +184,6 @@ function M:fillResult0(room, peopleNum, result)
|
|||
handCardList.itemRenderer = function(index, obj)
|
||||
obj.icon = string.format("ui://Main_Majiang/%s202_%d", self:GetPrefix(), infoList.hand_card[index + 1])
|
||||
if room.jing == infoList.hand_card[index + 1] then
|
||||
ViewUtil:ErrorTip("显示精")
|
||||
obj:GetController('jing').selectedIndex = 1
|
||||
end
|
||||
end
|
||||
|
|
@ -191,7 +195,6 @@ function M:fillResult0(room, peopleNum, result)
|
|||
end
|
||||
|
||||
if infoList.seat == room.banker_seat then
|
||||
ViewUtil:ErrorTip("显示庄家")
|
||||
isZhuang.selectedIndex = 1
|
||||
end
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 944 KiB After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 945 KiB After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
Loading…
Reference in New Issue