mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Open Http Properties upon HttpEnabled prompt (#58)
This commit is contained in:
parent
7a7ac9550d
commit
31e5c558ab
1 changed files with 3 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ end
|
||||||
|
|
||||||
function HttpError:report()
|
function HttpError:report()
|
||||||
warn(self.message)
|
warn(self.message)
|
||||||
|
if self.type == HttpError.Error.HttpNotEnabled then
|
||||||
|
game:GetService("Selection"):Set{game:GetService("HttpService")}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return HttpError
|
return HttpError
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue