summaryrefslogtreecommitdiffhomepage
path: root/not/Settings.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2018-04-09 21:30:11 +0200
committerAki <nthirtyone@gmail.com>2018-04-09 21:30:11 +0200
commitfa4409cedb322bbd41722f22308f399979fc6676 (patch)
treea7cc4725b003c1932ad88f4fce8548d43605bf9b /not/Settings.lua
parent96f6ebdaf06650a35dcdb6a1fc3f472b3aab6d8a (diff)
parent290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff)
downloadroflnauts-fa4409cedb322bbd41722f22308f399979fc6676.zip
roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.gz
roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.bz2
Love2D version 0.10.2 -> 11.0
Diffstat (limited to 'not/Settings.lua')
-rw-r--r--not/Settings.lua2
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")