修复准备标记状态问题
This commit is contained in:
@@ -374,12 +374,14 @@ function NET.updateWS_play()
|
|||||||
config=d.config,
|
config=d.config,
|
||||||
})
|
})
|
||||||
if SCN.socketRead then SCN.socketRead('Join',d)end
|
if SCN.socketRead then SCN.socketRead('Join',d)end
|
||||||
|
NET.allReady=false
|
||||||
end
|
end
|
||||||
elseif res.action==3 then--Player leave
|
elseif res.action==3 then--Player leave
|
||||||
if not d.uid then
|
if not d.uid then
|
||||||
|
NET.allReady=false
|
||||||
NET.wsclose_stream()
|
NET.wsclose_stream()
|
||||||
SCN.back()
|
|
||||||
NET.unlock('quit')
|
NET.unlock('quit')
|
||||||
|
SCN.back()
|
||||||
else
|
else
|
||||||
for i=1,#PLY_NET do
|
for i=1,#PLY_NET do
|
||||||
if PLY_NET[i].sid==d.sid then
|
if PLY_NET[i].sid==d.sid then
|
||||||
|
|||||||
Reference in New Issue
Block a user