From 824bf0f96e7c391c10fc6bef234a6b633583306f Mon Sep 17 00:00:00 2001 From: Hellss Date: Fri, 30 Jul 2021 11:42:28 +0300 Subject: [PATCH] Fixed skins (vmt instead vtf) (#304) --- lua/autorun/metrostroi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/autorun/metrostroi.lua b/lua/autorun/metrostroi.lua index 8fee089..f5bd15a 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..".vtf","GAME") then + if not file.Exists("materials/"..v..".vmt","GAME") then find = true ErrorNoHalt(Format("Metrostroi: %s texture: %s, not found. Check folder and addons!\n",category,v)) end