We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48425f5 commit 9ed7c37Copy full SHA for 9ed7c37
conf.lua
@@ -9,12 +9,10 @@ function love.conf(t)
9
10
local fs=love.filesystem
11
fs.setIdentity(identity)
12
- do -- Load grapgic settings from conf/settings
+ if fs.getInfo('conf/settings') then -- Load grapgic settings from conf/settings
13
local fileData=fs.read('conf/settings')
14
- if fileData then
15
- msaa=tonumber(fileData:match('"msaa":(%d+)')) or 0;
16
- portrait=MOBILE and fileData:find('"portrait":true') and true
17
- end
+ msaa=tonumber(fileData:match('"msaa":(%d+)')) or 0;
+ portrait=MOBILE and fileData:find('"portrait":true') and true
18
end
19
20
t.identity=identity -- Saving folder
0 commit comments