From 8b202d9d059926033eabca78b8fd133be2a7c318 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 20 Sep 2020 20:17:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86local?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/file.lua | 4 +--- Zframework/toolfunc.lua | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Zframework/file.lua b/Zframework/file.lua index 1356fa6f..d3e0097e 100644 --- a/Zframework/file.lua +++ b/Zframework/file.lua @@ -1,8 +1,6 @@ local fs=love.filesystem -local int,max,min=math.floor,math.max,math.min -local sub,find=string.sub,string.find +local int=math.floor local toN,toS=tonumber,tostring -local concat=table.concat local files={ data= fs.newFile("data.dat"), diff --git a/Zframework/toolfunc.lua b/Zframework/toolfunc.lua index cceeb8f5..7a25f27d 100644 --- a/Zframework/toolfunc.lua +++ b/Zframework/toolfunc.lua @@ -1,6 +1,7 @@ local gc=love.graphics local int=math.floor local format=string.format +local find=string.find do--setFont local newFont=gc.setNewFont