1
0

Use getInfo instead
Some checks failed
LÖVE/Lua Library / Lua-Testing (push) Failing after 8s
LÖVE/Lua Library / Static-Analysis (push) Successful in 3s

This commit is contained in:
Jon Michael Aanes 2025-04-20 17:30:22 +02:00
parent a390a95854
commit cc4d744728

View File

@ -297,7 +297,7 @@ local function load_quad_data (filename)
local chunk, error_msg
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)
else
chunk, error_msg = nil, 'Does not exist'