Skip to content

Commit

Permalink
optimized code
Browse files Browse the repository at this point in the history
  • Loading branch information
Fab052 committed Oct 30, 2024
1 parent b11a1ff commit d64586e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions assets/game/mode/brik/exterior/dig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ return {
P.modeData.lineStay=6
mechLib.brik.dig.event_playerInit(P)
P.fieldDived=0
P.modeData.keyCount={}
P.modeData.curKeyCount=0
end,
beforePress={
Expand All @@ -30,9 +29,6 @@ return {
PROGRESS.setSecret('exterior_sprint_gunJumping')
end
end,
function(P)
P.modeData.curKeyCount=P.modeData.curKeyCount+1
end,
},
beforeClear={
function(P,lines)
Expand Down
4 changes: 0 additions & 4 deletions assets/game/mode/brik/exterior/drill.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ return {
P.modeData.lineStay=8
mechLib.brik.dig.event_playerInit(P)
P.fieldDived=0
P.modeData.keyCount={}
P.modeData.curKeyCount=0
end,
beforePress={
Expand All @@ -30,9 +29,6 @@ return {
PROGRESS.setSecret('exterior_sprint_gunJumping')
end
end,
function(P)
P.modeData.curKeyCount=P.modeData.curKeyCount+1
end,
},
beforeClear={
function(P,lines)
Expand Down
4 changes: 0 additions & 4 deletions assets/game/mode/brik/exterior/hypersonic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ return {
P.settings.dropDelay=0
P.settings.lockDelay=1e99
P.settings.spawnDelay=260
P.modeData.keyCount={}
P.modeData.curKeyCount=0
local T=mechLib.common.task
T.install(P)
Expand All @@ -39,9 +38,6 @@ return {
PROGRESS.setSecret('exterior_sprint_gunJumping')
end
end,
function(P)
P.modeData.curKeyCount=P.modeData.curKeyCount+1
end,
},
afterClear=function(P,clear)
local initFunc
Expand Down
4 changes: 0 additions & 4 deletions assets/game/mode/brik/exterior/tspin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ return {
P.modeData.hardModeFlag=true
mechLib.brik.chargeLimit.tspin_event_playerInit(P)
mechLib.common.music.set(P,{path='.tsd',s=3,e=12},'afterClear')
P.modeData.keyCount={}
P.modeData.curKeyCount=0
end,
always=mechLib.brik.chargeLimit.tspin_event_always,
Expand All @@ -35,9 +34,6 @@ return {
PROGRESS.setSecret('exterior_sprint_gunJumping')
end
end,
function(P)
P.modeData.curKeyCount=P.modeData.curKeyCount+1
end,
},
afterClear={
mechLib.brik.chargeLimit.tspin_event_afterClear,
Expand Down

0 comments on commit d64586e

Please sign in to comment.