简易健康游戏时间提醒

This commit is contained in:
MrZ626
2020-12-05 01:59:21 +08:00
parent ba4d3b09ff
commit 27d8aac39e
12 changed files with 60 additions and 12 deletions

View File

@@ -119,6 +119,7 @@ function scene.sceneBack()
love.keyboard.setKeyRepeat(true)
if not GAME.replaying then
mergeStat(STAT,PLAYERS[1].stat)
STAT.todayTime=STAT.todayTime+PLAYERS[1].stat.time
end
if not GAME.result then
FILE.save(STAT,"data")