From dbf6b6f935c7b049c015a8a6830e078c769326ec Mon Sep 17 00:00:00 2001 From: qwint Date: Mon, 10 Feb 2025 13:23:58 -0500 Subject: [PATCH] CC: don't try to reconnect on invalid version (#4606) --- CommonClient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/CommonClient.py b/CommonClient.py index eb381952..33792f0e 100644 --- a/CommonClient.py +++ b/CommonClient.py @@ -907,6 +907,7 @@ async def process_server_cmd(ctx: CommonContext, args: dict): ctx.disconnected_intentionally = True ctx.event_invalid_game() elif 'IncompatibleVersion' in errors: + ctx.disconnected_intentionally = True raise Exception('Server reported your client version as incompatible. ' 'This probably means you have to update.') elif 'InvalidItemsHandling' in errors: