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
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
if sel>0 then return false end
end
@@ -591,8 +591,7 @@ function loadGame(mode,ifQuickPlay,ifNet)-- Load a mode and go to game scene
end
end
end
function gameOver()
-- Save record
function gameOver()-- Save record
if GAME.replaying then
local R=GAME.curMode.getRank
if R then

View File

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