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
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user