mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Fixes confusing error for OSX.
Fixes the "Error: Could not decode image!" for OSX. Silly thing was trying to read the annoying .DS_Store files.
This commit is contained in:
parent
c32d0d2de9
commit
01bd70e089
@ -92,7 +92,7 @@ function loveframes.skins.Register(skin)
|
|||||||
local extension = v.extension
|
local extension = v.extension
|
||||||
local fullpath = v.fullpath
|
local fullpath = v.fullpath
|
||||||
local key = filename .. "." .. extension
|
local key = filename .. "." .. extension
|
||||||
if extension ~= "db" then
|
if extension ~= "db" and extension ~= "DS_Store" then
|
||||||
loveframes.skins.available[name].images[key] = love.graphics.newImage(fullpath)
|
loveframes.skins.available[name].images[key] = love.graphics.newImage(fullpath)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user