1
0
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:
Hellss
2021-07-30 11:42:28 +03:00
committed by GitHub
parent 18112dc358
commit 824bf0f96e

View File

@@ -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