mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +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 fullpath = v.fullpath
|
||||
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)
|
||||
end
|
||||
end
|
||||
@ -196,4 +196,4 @@ function loveframes.skins.ReloadImages(name)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user