整理代码,使用TABLE.find
This commit is contained in:
@@ -399,6 +399,7 @@ function NET.updateWS_play()
|
||||
SCN.back()
|
||||
else
|
||||
netPLY.remove(d.sid)
|
||||
--TODO
|
||||
for i=1,#PLAYERS do
|
||||
if PLAYERS[i].sid==d.sid then
|
||||
rem(PLAYERS,i)
|
||||
|
||||
Reference in New Issue
Block a user