同步修复黎川自摸字段消失

master
罗家炜 2025-04-09 11:34:40 +08:00
parent 0c32ad1d90
commit dec81f9354
2 changed files with 5 additions and 7 deletions

View File

@ -103,6 +103,7 @@ function M:SelectedConfigData()
local round = _config:GetController("round").selectedIndex + 1
local people = _config:GetController("peopleNum").selectedIndex + 2
local zimo = _config:GetController("ZiMo").selectedIndex
local jingbibo = _config:GetController("jingbibo").selectedIndex
@ -119,6 +120,7 @@ function M:SelectedConfigData()
_data["opt"] = round
_data["maxPlayers"] = people
_data["zimo"] = zimo
_data["jingbibo"] = jingbibo
_data['xi_pai'] = xi_pai

View File

@ -61,10 +61,6 @@ function M:__BuGang(cardInfo, callback)
callback(cardInfo[index + 1])
end)
gangcard2.onClick:Add(function()
callback(card2)
end)
_gang_tip_choice.xy = Vector2((self._view.width - _gang_tip_choice.width) / 2,
(self._view.height - _gang_tip_choice.height) / 2)
self._view:AddChild(_gang_tip_choice)
@ -76,15 +72,15 @@ function M:SetShowGangZiProcess(currentLaizi1ID, currentLaizi2ID, bugangnum, isS
if isShowAnim == nil then isShowAnim = false end
self:SetGangZiCard(self.Laizi1Btn, currentLaizi1ID)
self:SetGangZiCard(self.Laizi2Btn, currentLaizi2ID)
-- self:SetGangZiCard(self.Laizi2Btn, currentLaizi2ID)
self:IsShowGangZi(self.Laizi1Btn, true)
self:IsShowGangZi(self.Laizi2Btn, true)
-- self:IsShowGangZi(self.Laizi2Btn, true)
self.bugangnum.text = "当前 " .. bugangnum .. ""
end
function M:HideAllGangZiCard()
self.Laizi1Btn.visible = false
self.Laizi2Btn.visible = false
-- self.Laizi2Btn.visible = false
self.selectLaiziBtn.visible = false
--self.LaiziBG.visible=false
end