arm小程序删除答错自动清空
整理代码 框架跟进
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-- A lantern background which is full of festive atmosphere. Lantern image by ScF
|
||||
local int,rnd=math.floor,math.random
|
||||
local floor,rnd=math.floor,math.random
|
||||
local ins,rem=table.insert,table.remove
|
||||
local mDraw=mDraw
|
||||
local back={}
|
||||
@@ -41,7 +41,7 @@ function back.draw()
|
||||
local img=IMG.lanterns
|
||||
for i=1,#lanterns do
|
||||
local L=lanterns[i]
|
||||
mDraw(img[int(L.phase*6)+1],L.x,L.y,nil,L.size)
|
||||
mDraw(img[floor(L.phase*6)+1],L.x,L.y,nil,L.size)
|
||||
end
|
||||
end
|
||||
return back
|
||||
|
||||
Reference in New Issue
Block a user