From af6f368eb92918f0b1439bbaa16bef06952124f7 Mon Sep 17 00:00:00 2001 From: Vladimir Makaev Date: Fri, 11 Feb 2022 18:48:11 +0000 Subject: [PATCH] Bugfix: remap keybind is crashing (#533) --- src/char/i_char.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/char/i_char.py b/src/char/i_char.py index 101c27ed0..59bc9282f 100644 --- a/src/char/i_char.py +++ b/src/char/i_char.py @@ -125,7 +125,7 @@ def _remap_skill_hotkey(self, skill_asset, hotkey, skill_roi, expanded_skill_roi wait(0.3) match = self._template_finder.search(skill_asset, self._screen.grab(), threshold=0.84, roi=expanded_skill_roi) if match.valid: - x, y = self._screen.convert_screen_to_monitor(match.position) + x, y = self._screen.convert_screen_to_monitor(match.center) mouse.move(x, y) wait(0.3) keyboard.send(hotkey)