整理代码

This commit is contained in:
MrZ626
2021-04-06 00:43:10 +08:00
parent eb15bec707
commit 3b5d21fcd4
5 changed files with 4 additions and 10 deletions

View File

@@ -537,9 +537,7 @@ function destroyPlayers()--Destroy all player objects, restore freerows and free
end
PLAYERS[i]=nil
end
for i=#PLY_ALIVE,1,-1 do
PLY_ALIVE[i]=nil
end
TABLE.clear(PLY_ALIVE)
collectgarbage()
end
function restoreVirtualkey()