diff --git a/lua/pac3/core/client/parts/model.lua b/lua/pac3/core/client/parts/model.lua index 352e721c..d8fe5de4 100644 --- a/lua/pac3/core/client/parts/model.lua +++ b/lua/pac3/core/client/parts/model.lua @@ -606,7 +606,7 @@ function PART:ProcessModelChange() local path = self.Model if path:find("://", nil, true) then - if path:StartWith("objhttp") or path:StartWith("obj:http") or path:match("%.obj%p") or self.ForceObjUrl then + if path:StartWith("objhttp") or path:StartWith("obj:http") or path:match("%.obj%p?") or self.ForceObjUrl then path = path:gsub("^objhttp","http"):gsub("^obj:http","http") self.loading = "downloading obj"