diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-08 15:20:58 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-08 15:20:58 +0200 |
commit | ea62ce8ec8ae07ff6d421b4146d2503ef0f67574 (patch) | |
tree | b0adc2b1735d103e55aed7bdd0c462b2ea5e359f /not/Settings.lua | |
parent | 08271656cbe18fbc4432fc758ac42750e818da84 (diff) | |
parent | 290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff) | |
download | roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.zip roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.tar.gz roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.tar.bz2 |
Merge branch 'love-11.0' into control
Diffstat (limited to 'not/Settings.lua')
-rw-r--r-- | not/Settings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Settings.lua b/not/Settings.lua index ca429eb..f4790b3 100644 --- a/not/Settings.lua +++ b/not/Settings.lua @@ -10,7 +10,7 @@ local function convertToNew (old) end local function filePrepare () - if not love.filesystem.exists("settings") then + if not love.filesystem.getInfo("settings") then local def = love.filesystem.newFile("settings.default") local new = love.filesystem.newFile("settings") new:open("w") def:open("r") |