From dec81f9354151437712728ac97057be7638deda6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=AE=B6=E7=82=9C?= <2029049582@qq.com> Date: Wed, 9 Apr 2025 11:34:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BF=AE=E5=A4=8D=E9=BB=8E?= =?UTF-8?q?=E5=B7=9D=E8=87=AA=E6=91=B8=E5=AD=97=E6=AE=B5=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extend/majiang/lichuan/EXGameInfo.lua | 2 ++ .../extend/majiang/lichuan/EXMainView.lua | 10 +++------- 2 files changed, 5 insertions(+), 7 deletions(-) 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