Skip to content

Commit

Permalink
修改大招检查
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jul 27, 2024
1 parent 91adbdb commit 696405f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/char/BaseChar.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,7 @@ def click_liberation(self, wait_end=True, con_less_than=-1, send_click=False):
start = time.time()
last_click = 0
clicked = False
while self.liberation_available() or (
(clicked and time.time() - last_click < 0.5) and self.task.in_team()[
0]): # clicked and still in team wait for animation
while self.liberation_available(): # clicked and still in team wait for animation
self.logger.debug(f'click_liberation liberation_available click')
now = time.time()
if now - last_click > 0.1:
Expand Down

0 comments on commit 696405f

Please sign in to comment.