diff --git a/lua_probject/extend_project/extend/majiang/lichuan/EXGameInfo.lua b/lua_probject/extend_project/extend/majiang/lichuan/EXGameInfo.lua index 7a1342ae..1629c28f 100644 --- a/lua_probject/extend_project/extend/majiang/lichuan/EXGameInfo.lua +++ b/lua_probject/extend_project/extend/majiang/lichuan/EXGameInfo.lua @@ -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 diff --git a/lua_probject/extend_project/extend/majiang/lichuan/EXMainView.lua b/lua_probject/extend_project/extend/majiang/lichuan/EXMainView.lua index 036c9fed..4e405c6d 100644 --- a/lua_probject/extend_project/extend/majiang/lichuan/EXMainView.lua +++ b/lua_probject/extend_project/extend/majiang/lichuan/EXMainView.lua @@ -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