文件模块重构

This commit is contained in:
MrZ626
2020-12-14 18:33:48 +08:00
parent b6b87f5480
commit 654a5b9dfe
17 changed files with 76 additions and 238 deletions

View File

@@ -117,7 +117,9 @@ function sceneBack.pause()
if not GAME.replaying then
mergeStat(STAT,PLAYERS[1].stat)
end
FILE.saveData()
if not GAME.result then
FILE.save(STAT,"data")
end
end
function keyDown.pause(key)