自定义游戏的序列任务场地等数据退出后会保存

This commit is contained in:
MrZ626
2021-07-28 03:10:29 +08:00
parent 81b3082087
commit 512c78e192
7 changed files with 73 additions and 52 deletions

View File

@@ -118,6 +118,9 @@ function scene.sceneInit()
demo=false
page=1
end
function scene.sceneBack()
FILE.save(DATA.copyBoards(),'conf/customBoards')
end
function scene.mouseMove(x,y)
local sx,sy=int((x-200)/30)+1,20-int((y-60)/30)