Variable should be local.

This commit is contained in:
NathanSweet 2013-05-24 13:54:19 +02:00
parent 20d42b0bff
commit cef7e46e5b

View File

@ -104,7 +104,7 @@ function SkeletonJson.new (attachmentLoader)
end
-- Skins.
map = root["skins"]
local map = root["skins"]
if map then
for skinName,skinMap in pairs(map) do
local skin = Skin.new(skinName)