diff --git a/deployment/toontown/ai/ServiceStart.py b/deployment/toontown/ai/ServiceStart.py index 9f1451de..b90fbb76 100644 --- a/deployment/toontown/ai/ServiceStart.py +++ b/deployment/toontown/ai/ServiceStart.py @@ -51,11 +51,12 @@ if ':' in host: port = int(port) simbase.air.connect(host, port) +gc.enable() + isServer = config.GetBool('is-server', False) try: run() - gc.enable() except SystemExit: raise except Exception: