about summary refs log tree commit diff stats
path: root/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'run.lua')
-rw-r--r--run.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/run.lua b/run.lua
index c334811..405e7e5 100644
--- a/run.lua
+++ b/run.lua
@@ -134,6 +134,9 @@ function run.quit()
 end
 
 function run.settings()
+  if Settings == nil then
+    Settings = {}
+  end
   if Current_app == 'run' then
     Settings.x, Settings.y, Settings.displayindex = love.window.getPosition()
   end