From aeca29a2788c173cea74af679b93e493c5e08d60 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 29 Mar 2015 16:35:45 +0300 Subject: [PATCH] Fix server connecting --- toontown/toonbase/ToonBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/toonbase/ToonBase.py b/toontown/toonbase/ToonBase.py index a5a7a304..009cac9c 100644 --- a/toontown/toonbase/ToonBase.py +++ b/toontown/toonbase/ToonBase.py @@ -387,7 +387,7 @@ class ToonBase(OTPBase.OTPBase): def startShow(self, cr, launcherServer = None): self.cr = cr base.graphicsEngine.renderFrame() - gameServer = os.environ.get('TTU_GAMESERVER', 'localhost') + gameServer = launcher.getGameServer() # Get the base port. serverPort = base.config.GetInt('server-port', 7199)