退出房间的时候不再等待服务器返回成功消息
This commit is contained in:
@@ -38,6 +38,10 @@ end
|
|||||||
local function _quit()
|
local function _quit()
|
||||||
if TIME()-lastBackTime<1 then
|
if TIME()-lastBackTime<1 then
|
||||||
NET.signal_quit()
|
NET.signal_quit()
|
||||||
|
if SCN.stack[#SCN.stack-1]=='net_newRoom'then
|
||||||
|
SCN.pop()
|
||||||
|
end
|
||||||
|
SCN.back()
|
||||||
else
|
else
|
||||||
lastBackTime=TIME()
|
lastBackTime=TIME()
|
||||||
MES.new('info',text.sureQuit)
|
MES.new('info',text.sureQuit)
|
||||||
|
|||||||
Reference in New Issue
Block a user