From a21e7a5e8d1f0508331e451d77be01aafefaa632 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 4 May 2021 02:16:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/log.lua | 2 +- parts/gametoolfunc.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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