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