fixed detect servers
This commit is contained in:
2
main.go
2
main.go
@@ -160,7 +160,7 @@ func main() {
|
|||||||
|
|
||||||
// If both server selected set the remote Gameserver to local now.
|
// If both server selected set the remote Gameserver to local now.
|
||||||
if *BothServers {
|
if *BothServers {
|
||||||
Config.BackendURL = "http://" + Config.IPAddress + ":" + Config.NATEscapeGameServerPort + "/"
|
Config.BackendURL = Config.NATEscapeGameServerPort + "/"
|
||||||
err = Config.WriteConfig()
|
err = Config.WriteConfig()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user