From faf25008f904250ebefaf9b0e46b1dafe7a5a84e Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 15 Oct 2021 00:15:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E6=88=BF=E9=97=B4=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E4=B8=8D=E5=86=8D=E7=AD=89=E5=BE=85=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E8=BF=94=E5=9B=9E=E6=88=90=E5=8A=9F=E6=B6=88?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/net_game.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parts/scenes/net_game.lua b/parts/scenes/net_game.lua index 94399206..832c3fc2 100644 --- a/parts/scenes/net_game.lua +++ b/parts/scenes/net_game.lua @@ -38,6 +38,10 @@ end local function _quit() if TIME()-lastBackTime<1 then NET.signal_quit() + if SCN.stack[#SCN.stack-1]=='net_newRoom'then + SCN.pop() + end + SCN.back() else lastBackTime=TIME() MES.new('info',text.sureQuit)