fix(move): Do not slow walk on teleport

This commit is contained in:
aeon0
2021-11-07 21:06:11 +01:00
parent 26c5ee9de5
commit 35df3bae7b
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -60,6 +60,8 @@ class IChar:
custom_mouse.move(x, y, duration=(random.random() * 0.03 + 0.05))
mouse.click(button="left")
wait(0.02, 0.03)
if self._config.char["slow_walk"]:
wait(1.2, 1.4)
def tp_town(self):
keyboard.send(self._char_config["tp"])
-2
View File
@@ -237,8 +237,6 @@ class Pather:
x_m, y_m = self._screen.convert_abs_to_monitor(node_pos_abs)
char.move((x_m, y_m))
last_move = time.time()
if self._config.char["slow_walk"]:
wait(1.2, 1.4)
return True