From f496f0e6a8d87951e0bddfb5510db88a89936270 Mon Sep 17 00:00:00 2001 From: VolandSZ <{E-MAIL}> Date: Wed, 9 Sep 2026 09:27:32 +0300 Subject: [PATCH] Fix premature cursor movement in click_client_pos to ensure reliable click registration --- bot_core.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bot_core.py b/bot_core.py index d6828bc..e3a8ce4 100644 --- a/bot_core.py +++ b/bot_core.py @@ -232,9 +232,6 @@ class DirtyLeagueBot: user32.mouse_event(0x0002, 0, 0, 0, 0) # MOUSEEVENTF_LEFTDOWN time.sleep(0.08) user32.mouse_event(0x0004, 0, 0, 0, 0) # MOUSEEVENTF_LEFTUP - # Briefly park cursor in neutral corner to prevent buttons staying in hover/glow state - park_x, park_y = self.wm.client_to_screen(50, 50) - user32.SetCursorPos(park_x, park_y) time.sleep(self.action_delay) def click_client_pos_fast(self, x: int, y: int):