Fix some bugs

This commit is contained in:
SweetSea-ButImNotSweet
2024-01-04 07:53:28 +07:00
parent 77232885b6
commit 8252f85720
3 changed files with 8 additions and 9 deletions

View File

@@ -666,14 +666,6 @@ function gameOver()
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