Final push
This commit is contained in:
@@ -593,7 +593,8 @@ 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
|
||||
@@ -665,6 +666,14 @@ function gameOver()-- Save record
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Kill mod patching function
|
||||
if GAME.ApplyModsTask then
|
||||
TASK.removeTask_code(GAME.ApplyModsTask)
|
||||
TABLE.cut(GAME.modCodeList)
|
||||
GAME.modCodeList=nil
|
||||
GAME.ApplyModsTask=nil
|
||||
end
|
||||
end
|
||||
function trySave()
|
||||
if not GAME.statSaved and PLAYERS[1] and PLAYERS[1].type=='human' and (PLAYERS[1].frameRun>300 or GAME.result) then
|
||||
|
||||
Reference in New Issue
Block a user