整理代码
This commit is contained in:
@@ -35,7 +35,7 @@ function LOG.draw()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
function LOG.print(text,T,C)--text,type/time,color
|
function LOG.print(text,T,C)--text,type/time/color,color
|
||||||
local time
|
local time
|
||||||
local his
|
local his
|
||||||
if T=='warn'then
|
if T=='warn'then
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
local gc=love.graphics
|
local gc=love.graphics
|
||||||
|
local rem=table.remove
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -164,7 +165,6 @@ function scoreValid()--Check if any unranked mods are activated
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
function destroyPlayers()--Destroy all player objects, restore freerows and free CCs
|
function destroyPlayers()--Destroy all player objects, restore freerows and free CCs
|
||||||
local rem=table.remove
|
|
||||||
for i=#PLAYERS,1,-1 do
|
for i=#PLAYERS,1,-1 do
|
||||||
local P=PLAYERS[i]
|
local P=PLAYERS[i]
|
||||||
if P.canvas then P.canvas:release()end
|
if P.canvas then P.canvas:release()end
|
||||||
|
|||||||
Reference in New Issue
Block a user