diff --git a/Zframework/log.lua b/Zframework/log.lua index 5cee9182..1dc40fe6 100644 --- a/Zframework/log.lua +++ b/Zframework/log.lua @@ -35,7 +35,7 @@ function LOG.draw() 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 his if T=='warn'then diff --git a/parts/gametoolfunc.lua b/parts/gametoolfunc.lua index c5c1a413..de15ecee 100644 --- a/parts/gametoolfunc.lua +++ b/parts/gametoolfunc.lua @@ -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