fixed detect servers

This commit is contained in:
2025-02-14 00:13:12 +00:00
parent 21eaf75cfa
commit 7a420ac720
2 changed files with 25 additions and 25 deletions

View File

@@ -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)