Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Bugfix: remap keybind is crashing (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMakaev authored Feb 11, 2022
1 parent a10ba44 commit af6f368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/char/i_char.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit af6f368

Please sign in to comment.