toonbase: localhost -> 127.0.0.1

While Linux is able to connect to localhost, Windows & macOS aren't.
This commit is contained in:
John Cote 2019-11-19 18:04:10 -05:00
parent 580ffb001b
commit 2e00c465a6

View file

@ -307,7 +307,7 @@ class ToonBase(OTPBase.OTPBase):
gameServer = launcherServer gameServer = launcherServer
self.notify.info('Using gameServer from launcher: %s ' % gameServer) self.notify.info('Using gameServer from launcher: %s ' % gameServer)
else: else:
gameServer = 'localhost' gameServer = '127.0.0.1'
serverPort = base.config.GetInt('server-port', 7198) serverPort = base.config.GetInt('server-port', 7198)
serverList = [] serverList = []
for name in gameServer.split(';'): for name in gameServer.split(';'):