diff --git a/toontown/ai/ServiceStart.py b/toontown/ai/ServiceStart.py index d606d6f5..9c68431a 100755 --- a/toontown/ai/ServiceStart.py +++ b/toontown/ai/ServiceStart.py @@ -62,8 +62,6 @@ if ':' in host: port = int(port) simbase.air.connect(host, port) -isServer = config.GetBool('is-server', False) - try: run() gc.enable() @@ -74,9 +72,4 @@ except Exception: simbase.air.writeServerEvent('ai-exception', avId=simbase.air.getAvatarIdFromSender(), accId=simbase.air.getAccountIdFromSender(), exception=info) - if isServer: - import datetime - with open(config.GetString('ai-crash-log-name', '/opt/var/log/%s-ai-crash-%s.txt' % (config.GetString('district-name', 'Devhaven'), datetime.datetime.now())), 'w+') as file: - file.write(info + "\n") - raise