mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Map server default host to plugin default host
This commit is contained in:
parent
da347b42a8
commit
973eda9ad9
1 changed files with 6 additions and 0 deletions
|
|
@ -183,6 +183,12 @@ function App:checkForRojoOpen()
|
|||
end
|
||||
|
||||
local host = instance:GetAttribute("Host")
|
||||
if host == "127.0.0.1" then
|
||||
-- The server default is 127.0.0.1 but the plugin's is localhost.
|
||||
-- Change it to localhost so the address box shows the default value.
|
||||
host = "localhost"
|
||||
end
|
||||
|
||||
local port = instance:GetAttribute("Port")
|
||||
local sessionId = instance:GetAttribute("SessionId")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue