summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--not/Settings.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/not/Settings.lua b/not/Settings.lua
index ea4c428..ca429eb 100644
--- a/not/Settings.lua
+++ b/not/Settings.lua
@@ -104,9 +104,11 @@ function Settings.change (n, left, right, up, down, attack, jump, joystick)
else
bool = false
end
- -- Save current settings
Settings.current.sets[n] = {left, right, up, down, attack, jump, bool}
+ Settings.reload()
+end
+
+function Settings.reload ()
Settings.save()
- -- Load settings
Settings.load()
end