调整table扩展模块相关代码

This commit is contained in:
MrZ626
2021-04-28 17:22:35 +08:00
parent 1fc4dae61b
commit c8db07a8c8
6 changed files with 18 additions and 18 deletions

View File

@@ -351,7 +351,7 @@ function NET.updateWS_play()
elseif res.action==2 then--Player join
if res.type=="Self"then
--Create room
TABLE.clear(PLY_NET)
TABLE.cut(PLY_NET)
if d.players then
for _,p in next,d.players do
ins(PLY_NET,p.uid==USER.uid and 1 or #PLY_NET+1,{