Fix server connecting

This commit is contained in:
Daniel 2015-03-29 16:35:45 +03:00
parent f0c782f19b
commit aeca29a278

View file

@ -387,7 +387,7 @@ class ToonBase(OTPBase.OTPBase):
def startShow(self, cr, launcherServer = None): def startShow(self, cr, launcherServer = None):
self.cr = cr self.cr = cr
base.graphicsEngine.renderFrame() base.graphicsEngine.renderFrame()
gameServer = os.environ.get('TTU_GAMESERVER', 'localhost') gameServer = launcher.getGameServer()
# Get the base port. # Get the base port.
serverPort = base.config.GetInt('server-port', 7199) serverPort = base.config.GetInt('server-port', 7199)