From 645e9a576be026408da6c35624d357c030499161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=AE=B6=E7=82=9C?= <2029049582@qq.com> Date: Thu, 17 Apr 2025 13:16:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E4=BA=BA=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E8=A7=A3=E6=95=A3=E6=88=BF=E9=97=B4=E5=90=8E=E6=96=B0?= =?UTF-8?q?=E7=BB=93=E7=AE=97=E9=A1=B5=E9=9D=A2=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extend/majiang/lichuan/EXClearingView.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lua_probject/extend_project/extend/majiang/lichuan/EXClearingView.lua b/lua_probject/extend_project/extend/majiang/lichuan/EXClearingView.lua index 770ebade..72061fe8 100644 --- a/lua_probject/extend_project/extend/majiang/lichuan/EXClearingView.lua +++ b/lua_probject/extend_project/extend/majiang/lichuan/EXClearingView.lua @@ -71,7 +71,7 @@ function M:InitData(over, room, result, total_result, callback) _gamectr:PlayerReady() self:DestroyWithCallback() end) - else + elseif over == 1 then showBtnTypeCtr.selectedIndex = 1 self:fillResult1(room, peopleNum, total_result) if result then @@ -82,6 +82,14 @@ function M:InitData(over, room, result, total_result, callback) else _overCtr.selectedIndex = 1 end + else --解散房间如果没有开局直接退出不显示结算界面,over=2 + if room.curren_round > 0 then + _overCtr.selectedIndex = 1 + showBtnTypeCtr.selectedIndex = 1 + self:fillResult1(room, peopleNum, total_result) + else + ViewManager.ChangeView(ViewManager.View_Family) + end end end