Merge pull request #112 from WetDesertRock/master

Fixes confusing error for OSX.
This commit is contained in:
Kenny Shields 2014-03-04 08:30:38 -05:00
commit 55a8c1bba9

View File

@ -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