about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-03 21:19:46 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-03 21:19:46 -0700
commitfc98407c930f1ba48a48657031bae06991666449 (patch)
tree31f0f5c31358a35ec1d7a4bf93720c4dad41cc53
parent0c25c90d66441465f5d76ee282215b32dc1709ab (diff)
parent7d5dae9e397f585ba1bbda019cb23f391e9fec90 (diff)
downloadtext.love-fc98407c930f1ba48a48657031bae06991666449.tar.gz
Merge lines.love
-rw-r--r--run.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/run.lua b/run.lua
index 778dbf3..11534aa 100644
--- a/run.lua
+++ b/run.lua
@@ -129,6 +129,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