mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
fix not actually matching at the end
This commit is contained in:
parent
90e846ff61
commit
12832b5359
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user