mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
Fixed skins (vmt instead vtf) (#304)
This commit is contained in:
@@ -135,7 +135,7 @@ function Metrostroi.AddSkin(category,name,tbl)
|
|||||||
if CLIENT and tbl.textures then
|
if CLIENT and tbl.textures then
|
||||||
local find
|
local find
|
||||||
for k,v in pairs(tbl.textures) do
|
for k,v in pairs(tbl.textures) do
|
||||||
if not file.Exists("materials/"..v..".vtf","GAME") then
|
if not file.Exists("materials/"..v..".vmt","GAME") then
|
||||||
find = true
|
find = true
|
||||||
ErrorNoHalt(Format("Metrostroi: %s texture: %s, not found. Check folder and addons!\n",category,v))
|
ErrorNoHalt(Format("Metrostroi: %s texture: %s, not found. Check folder and addons!\n",category,v))
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user