整理代码习惯,常量字符串改用单引号,可能有遗漏

This commit is contained in:
MrZ626
2021-04-30 01:00:22 +08:00
parent 7676f32cf2
commit eda6c0d746
213 changed files with 2503 additions and 2499 deletions

View File

@@ -4,18 +4,18 @@ return{
life=2,
drop=60,lock=60,
freshLimit=15,
bg="bg2",bgm="race",
bg='bg2',bgm='race',
},
pauseLimit=true,
load=function()
PLY.newPlayer(1)
PLY.newAIPlayer(2,AIBUILDER("9S",5))
PLY.newAIPlayer(2,AIBUILDER('9S',5))
end,
score=function(P)return{P.stat.time}end,
scoreDisp=function(D)return STRING.time(D[1])end,
comp=function(a,b)return a[1]<b[1]end,
getRank=function(P)
if P.result=="WIN"then
if P.result=='win'then
local T=P.stat.time
return
T<=50 and 5 or