From 4543e869b5ab496ffbc5ebb4e69fa237c93ab2d4 Mon Sep 17 00:00:00 2001 From: Enterly <36875936+anthony5301@users.noreply.github.com> Date: Fri, 5 Apr 2024 13:25:49 +0800 Subject: [PATCH] Add files via upload --- game.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/game.py b/game.py index 1573f55..2aa07d6 100644 --- a/game.py +++ b/game.py @@ -23,7 +23,6 @@ def __init__(self, message_queue: multiprocessing.Queue) -> None: self.message_queue = message_queue self.arena = Arena(self.message_queue) self.round: str = "0-0" - self.round_from: int = None self.time: None = None self.forfeit_time: int = settings.FORFEIT_TIME + random.randint(50, 150) self.found_window = False @@ -72,7 +71,7 @@ def check_failed_to_connect_window(self) -> bool: """Check "Failed to Connect" windows and try to reconnect""" hwnd = win32gui.FindWindow(None, "Failed to Connect") if hwnd: - print(' Found "Failed to Connect" window, trying to exit and reconnect') + print(' Found "Failed to Connect" window, trying to exit and reconnect') if reconnect_button := win32gui.FindWindowEx(hwnd, 0, "Button", None): if cancel_button := win32gui.FindWindowEx( hwnd, reconnect_button, "Button", None