summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-08-01 02:37:11 +0200
committerAki <nthirtyone@gmail.com>2017-08-01 02:37:11 +0200
commite44eefe628e27a14ba7523a2951014cde782cf7f (patch)
tree457fc49d267038149f527f9f187cc5ccce7ecf24 /not
parent264a773d7313cffab491c9fbdb14a14480c8f73f (diff)
downloadroflnauts-e44eefe628e27a14ba7523a2951014cde782cf7f.zip
roflnauts-e44eefe628e27a14ba7523a2951014cde782cf7f.tar.gz
roflnauts-e44eefe628e27a14ba7523a2951014cde782cf7f.tar.bz2
Saves display settings properly
Diffstat (limited to 'not')
-rw-r--r--not/Settings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Settings.lua b/not/Settings.lua
index 7d5f489..ea4c428 100644
--- a/not/Settings.lua
+++ b/not/Settings.lua
@@ -90,7 +90,7 @@ function Settings.save ()
string = string .. "},\n"
end
string = string .. "\t},\n"
- string = string .. "\tdisplay = \"fullscreen\",\n"
+ string = string .. "\tdisplay = \"" .. Settings.current.display .. "\",\n"
string = string .. "}\n"
new:open("w")
new:write(string)