mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-04-24 08:25:16 +00:00
修复报错
This commit is contained in:
parent
e04788c823
commit
09b0ab6694
@ -167,7 +167,7 @@ class BaseWWTask(BaseTask):
|
||||
self.next_frame()
|
||||
continue
|
||||
x, y = treasure_icon.center()
|
||||
self.draw_boxes(treasure_icon)
|
||||
|
||||
y = max(0, y - self.height_of_screen(0.05))
|
||||
next_direction = self.get_direction(x, y, self.width, self.height)
|
||||
if next_direction != last_direction:
|
||||
|
Loading…
x
Reference in New Issue
Block a user