Fix redundant "end"

This commit is contained in:
SweetSea-ButImNotSweet
2024-01-04 15:42:14 +07:00
parent 47fc75bae8
commit b8ec5df9dc
2 changed files with 3 additions and 6 deletions

View File

@@ -505,7 +505,7 @@ function mergeStat(stat,delta)-- Merge delta stat. to global stat.
end end
end end
end end
function scoreValid()-- Check if any unranked mods are activated function coreValid()-- Check if any unranked mods are activated
for _,sel in next,GAME.mod do for _,sel in next,GAME.mod do
if sel>0 then return false end if sel>0 then return false end
end end
@@ -591,8 +591,7 @@ function loadGame(mode,ifQuickPlay,ifNet)-- Load a mode and go to game scene
end end
end end
end end
function gameOver() function gameOver()-- Save record
-- Save record
if GAME.replaying then if GAME.replaying then
local R=GAME.curMode.getRank local R=GAME.curMode.getRank
if R then if R then

View File

@@ -396,9 +396,7 @@ local function _applyGameEnv(P)-- Finish gameEnv processing
P:newNext() P:newNext()
end end
end end
for _=1,ENV.trueNextCount do for _=1,ENV.trueNextCount do P:newNext() end
P:newNext() end
end
if P.miniMode then if P.miniMode then
ENV.lockFX=false ENV.lockFX=false