整理代码习惯,常量字符串改用单引号,可能有遗漏
This commit is contained in:
@@ -12,7 +12,7 @@ function IMG.init(list)
|
||||
local function load(skip)
|
||||
local loaded=0
|
||||
for k,v in next,list do
|
||||
if type(v)=="string"then
|
||||
if type(v)=='string'then
|
||||
IMG[k]=love.graphics.newImage("media/image/"..v)
|
||||
else
|
||||
for i=1,#v do
|
||||
|
||||
Reference in New Issue
Block a user