diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-07-10 17:16:58 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-07-10 17:16:58 -0700 |
commit | bca7f8259802d6f6751dbe265dc0b27d7fac7589 (patch) | |
tree | 77193a5afe2782f73e2494fed3136ef74a24361b /run.lua | |
parent | 7f4c5f847b1e7e812d0abc255444b70341e4a827 (diff) | |
download | lines.love-bca7f8259802d6f6751dbe265dc0b27d7fac7589.tar.gz |
standardize between run and source some more
We shouldn't be thinking about saving settings when we're initializing window geometry.
Diffstat (limited to 'run.lua')
-rw-r--r-- | run.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/run.lua b/run.lua index 9a90b61..dea19cd 100644 --- a/run.lua +++ b/run.lua @@ -150,9 +150,7 @@ function run.quit() end function run.settings() - if Settings == nil then - Settings = {} - end + if Settings == nil then Settings = {} end Settings.x, Settings.y, Settings.displayindex = App.screen.position() return { x=Settings.x, y=Settings.y, displayindex=Settings.displayindex, |