手牌排序
parent
ff9c7eeb19
commit
7ee1038f09
|
|
@ -181,6 +181,8 @@ function M:fillResult0(room, peopleNum, result)
|
|||
|
||||
local handCardItem = allCardsList:AddItemFromPool("ui://Main_Majiang/Comp_HandCard")
|
||||
local handCardList = handCardItem:GetChild("list")
|
||||
--手牌排序
|
||||
table.sort(infoList.hand_card, ViewUtil.HandCardSort)
|
||||
handCardList:SetVirtual()
|
||||
--去除赢家手牌标志
|
||||
local flag_remove = infoList.is_win
|
||||
|
|
|
|||
Loading…
Reference in New Issue