From 7d5dae9e397f585ba1bbda019cb23f391e9fec90 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 3 Sep 2022 21:08:30 -0700 Subject: [PATCH] bugfix: cold start --- run.lua | 3 +++ 1 file changed, 3 insertions(+) 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