diff --git a/lua/autorun/metrostroi.lua b/lua/autorun/metrostroi.lua index 8c0d93a..5ac2cc9 100644 --- a/lua/autorun/metrostroi.lua +++ b/lua/autorun/metrostroi.lua @@ -135,7 +135,7 @@ function Metrostroi.AddSkin(category,name,tbl) if CLIENT and tbl.textures then local find for k,v in pairs(tbl.textures) do - if not file.Exists("materials/"..v..".vmt","GAME") then + if v:len()>2 and not file.Exists("materials/"..v..".vmt","GAME") and not file.Exists("materials/models/"..v..".vmt","GAME") then find = true ErrorNoHalt(Format("Metrostroi: %s texture: %s, not found. Check folder and addons!\n",category,v)) end