整理代码习惯,常量字符串改用单引号,可能有遗漏
This commit is contained in:
@@ -3,7 +3,7 @@ local function check_rise(P)
|
||||
P:garbageRise(21,1,P:getHolePos())
|
||||
end
|
||||
if P.stat.dig==100 then
|
||||
P:win("finish")
|
||||
P:win('finish')
|
||||
end
|
||||
end
|
||||
|
||||
@@ -12,7 +12,7 @@ return{
|
||||
env={
|
||||
pushSpeed=6,
|
||||
dropPiece=check_rise,
|
||||
bg="bg2",bgm="way",
|
||||
bg='bg2',bgm='way',
|
||||
},
|
||||
load=function()
|
||||
PLY.newPlayer(1)
|
||||
|
||||
Reference in New Issue
Block a user