整理代码

This commit is contained in:
MrZ626
2021-05-04 02:16:43 +08:00
parent 42f3cd8e31
commit a21e7a5e8d
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
local gc=love.graphics
local rem=table.remove
@@ -164,7 +165,6 @@ function scoreValid()--Check if any unranked mods are activated
return true
end
function destroyPlayers()--Destroy all player objects, restore freerows and free CCs
local rem=table.remove
for i=#PLAYERS,1,-1 do
local P=PLAYERS[i]
if P.canvas then P.canvas:release()end