Skip to content
Snippets Groups Projects
Commit f6cb045d authored by DarkGod's avatar DarkGod
Browse files

Fixed the video options dialog

parent 4381f7bf
No related branches found
No related tags found
No related merge requests found
......@@ -105,8 +105,13 @@ end
-- Move around
if config.settings.window.pos then
core.display.setWindowPos(config.settings.window.pos.x, config.settings.window.pos.y)
else
local px, py = core.display.windowPos()
config.settings.window = config.settings.window or {}
config.settings.window.pos = {x=px, y=py}
end
-- Audio
core.sound.enable(config.settings.audio.enable)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment