Use getInfo instead
This commit is contained in:
parent
a390a95854
commit
cc4d744728
|
@ -297,7 +297,7 @@ local function load_quad_data (filename)
|
||||||
|
|
||||||
local chunk, error_msg
|
local chunk, error_msg
|
||||||
if define_love then
|
if define_love then
|
||||||
if love.filesystem.exists(filename..filetype) then
|
if love.filesystem.getInfo(filename..filetype) then
|
||||||
chunk, error_msg = love.filesystem.load(filename..filetype)
|
chunk, error_msg = love.filesystem.load(filename..filetype)
|
||||||
else
|
else
|
||||||
chunk, error_msg = nil, 'Does not exist'
|
chunk, error_msg = nil, 'Does not exist'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user