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

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

@@ -1,17 +1,17 @@
local AISpeed={60,50,40,30,20,14,10,6,4,3}
return function(type,speedLV,next,hold,node)
if type=="CC"then
if type=='CC'then
if not hold then hold=false else hold=true end
return{
type="CC",
type='CC',
next=next,
hold=hold,
delta=AISpeed[speedLV],
node=node,
}
elseif type=="9S"then
elseif type=='9S'then
return{
type="9S",
type='9S',
delta=math.floor(AISpeed[speedLV]),
hold=hold,
}