0
0
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:
firedcto@gmail.com 2025-04-07 13:01:40 +08:00
parent e04788c823
commit 09b0ab6694

View File

@ -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: