mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Fix VCTRL.exportAll()
This commit is contained in:
@@ -222,4 +222,5 @@ end
|
||||
function VCTRL.exportAll()
|
||||
local t = {}
|
||||
for o, k in ipairs(VCTRL) do t[o] = k:export() end
|
||||
return t
|
||||
end
|
||||
@@ -17,7 +17,7 @@ local hasChanged
|
||||
local exitSceneFunc = function()
|
||||
VCTRL.release()
|
||||
BUTTON.release(buttonList)
|
||||
SCENE = TitleScene()
|
||||
SCENE = SETTINGS.firstTime and TitleScene() or InputConfigScene()
|
||||
end
|
||||
|
||||
buttonList = {
|
||||
@@ -59,7 +59,7 @@ buttonList = {
|
||||
)
|
||||
if selection == 1 then
|
||||
SETTINGS.input.virtual = VCTRL.exportAll()
|
||||
SETTINGS.__force_saving__()
|
||||
SETTINGS.firstTime = false
|
||||
-- love.window.showMessageBox("Saved!", "Your changes was saved!")
|
||||
|
||||
exitSceneFunc()
|
||||
|
||||
Reference in New Issue
Block a user