forked from mtcontrib/3d_armor
Fix Lua escape sequence, resolves #28
This commit is contained in:
parent
bd2ebac24e
commit
d107708bec
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user