Fix redundant "end"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user