修复准备标记状态问题

This commit is contained in:
MrZ626
2021-05-03 12:58:21 +08:00
parent 2627e55229
commit 18b5efcc0e

View File

@@ -374,12 +374,14 @@ function NET.updateWS_play()
config=d.config,
})
if SCN.socketRead then SCN.socketRead('Join',d)end
NET.allReady=false
end
elseif res.action==3 then--Player leave
if not d.uid then
NET.allReady=false
NET.wsclose_stream()
SCN.back()
NET.unlock('quit')
SCN.back()
else
for i=1,#PLY_NET do
if PLY_NET[i].sid==d.sid then