diff --git a/lua/pac3/core/shared/util.lua b/lua/pac3/core/shared/util.lua index 41c93817..0a83a3d9 100644 --- a/lua/pac3/core/shared/util.lua +++ b/lua/pac3/core/shared/util.lua @@ -598,6 +598,8 @@ function pac.DownloadMDL(url, callback, onfail, ply) for i, data in ipairs(files) do if data.file_name:EndsWith(".vmt") then data.buffer = data.buffer:lower():gsub("\\", "/") + :gsub('("?%f[%w_]playercolor%f[^%w_]"?)','PlayerColor') + :gsub('("?%f[%w_]playerweaponcolor%f[^%w_]"?)','PlayerWeaponColor') if DEBUG_MDL or VERBOSE then print(data.file_name .. ":")