Fix Lua escape sequence, resolves #28

This commit is contained in:
stujones11 2015-05-01 18:06:43 +01:00
parent bd2ebac24e
commit d107708bec

View File

@ -251,7 +251,7 @@ armor.get_player_skin = function(self, name)
elseif skin_mod == "u_skins" then elseif skin_mod == "u_skins" then
skin = u_skins.u_skins[name] skin = u_skins.u_skins[name]
elseif skin_mod == "wardrobe" then elseif skin_mod == "wardrobe" then
skin = string.gsub(wardrobe.playerSkins[name], '\.png$','') skin = string.gsub(wardrobe.playerSkins[name], "%.png$","")
end end
return skin or armor.default_skin return skin or armor.default_skin
end end