游戏内再次封装saveFile和loadFile函数
原本的FILE模块更独立,不基于全局text变量和报错信息而是直接报错
This commit is contained in:
@@ -127,7 +127,7 @@ function scene.sceneInit()
|
||||
page=1
|
||||
end
|
||||
function scene.sceneBack()
|
||||
FILE.save(DATA.copyBoards(),'conf/customBoards')
|
||||
saveFile(DATA.copyBoards(),'conf/customBoards')
|
||||
end
|
||||
|
||||
function scene.mouseMove(x,y)
|
||||
|
||||
Reference in New Issue
Block a user