1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Fix: Reverse swipe in ensure_edge_insight

This commit is contained in:
LmeSzinc 2020-09-05 01:49:11 +08:00
parent 36cdc2d45e
commit 04ce78e5e1

View File

@ -172,7 +172,7 @@ class Camera(InfoHandler):
logger.info('Reverse swipes.')
for vector in record[::-1]:
x, y = vector
if x != 0 and y != 0:
if x != 0 or y != 0:
self.map_swipe((-x, -y))
return record