Skip to content

Commit dd872a7

Browse files
committed
整理代码,return后面跟空格
1 parent 0df17cb commit dd872a7

File tree

207 files changed

+316
-316
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+316
-316
lines changed

parts/RSlist.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ local function _flipList(O)
7272
end
7373

7474
local function _reflect(a)
75-
return{
75+
return {
7676
[03]=_flipList(a[01]),
7777
[01]=_flipList(a[03]),
7878
[30]=_flipList(a[10]),

parts/bot/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ local AISpeed={60,50,42,34,27,21,16,12,9,6}
6262
]]
6363
function BOT.template(arg)
6464
if arg.type=='CC' then
65-
return{
65+
return {
6666
type='CC',
6767
next=arg.next,
6868
hold=arg.hold,
@@ -72,7 +72,7 @@ function BOT.template(arg)
7272
_20G=arg._20G,
7373
}
7474
elseif arg.type=='9S' then
75-
return{
75+
return {
7676
type='9S',
7777
delay=math.floor(AISpeed[arg.speedLV]),
7878
hold=arg.hold,

parts/customEnv0.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
return{
1+
return {
22
version=VERSION.code,
33

44
-- Basic

parts/data.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ function DATA.parseReplayData(fileName,fileData,ifFull)
413413

414414
-- Create unavailable replay object
415415
::BREAK_cannotParse::
416-
return{
416+
return {
417417
fileName=fileName,
418418
available=false,
419419
}

parts/eventsets/attacker_h.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
return{
1+
return {
22
mesDisp=function(P)
33
setFont(55)
44
GC.mStr(P.modeData.wave,63,200)

parts/eventsets/attacker_u.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
return{
1+
return {
22
mesDisp=function(P)
33
setFont(55)
44
GC.mStr(P.modeData.wave,63,200)

parts/eventsets/backfire_0.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
return{
1+
return {
22
hook_drop=function(P)
33
if P.lastPiece.atk>0 then
44
P:receive(nil,P.lastPiece.atk,0,generateLine(P.holeRND:random(10)))

parts/eventsets/backfire_120.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
return{
1+
return {
22
hook_drop=function(P)
33
if P.lastPiece.atk>0 then
44
P:receive(nil,P.lastPiece.atk,120,generateLine(P.holeRND:random(10)))

parts/eventsets/backfire_30.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
return{
1+
return {
22
hook_drop=function(P)
33
if P.lastPiece.atk>0 then
44
P:receive(nil,P.lastPiece.atk,30,generateLine(P.holeRND:random(10)))

0 commit comments

Comments
 (0)