switched c.useexternalstorage to c.externalstorage

--HG--
branch : new-conf-flag-for-android-2
This commit is contained in:
BobbyJones
2016-01-02 19:16:20 -05:00
parent eb5669db22
commit 9dc50fe423
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -374,7 +374,7 @@ function love.init()
console = false, -- Only relevant for windows.
identity = false,
appendidentity = false,
useexternalstorage = false, -- Only relevant for Android.
externalstorage = false, -- Only relevant for Android.
accelerometerjoystick = true, -- Only relevant for Android / iOS.
gammacorrect = false,
}
@@ -494,7 +494,7 @@ function love.init()
end
if love.filesystem then
love.filesystem.setAndroidSaveExternal(c.useexternalstorage)
love.filesystem.setAndroidSaveExternal(c.externalstorage)
love.filesystem.setIdentity(c.identity or love.filesystem.getIdentity(), c.appendidentity)
if love.filesystem.isFile("main.lua") then
require("main")