mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Point in tuple cannot be compared to int
This commit is contained in:
parent
3f50d42c1a
commit
fc5dc22dfd
@ -112,9 +112,9 @@ class RogueExit(CombatInteract):
|
||||
distant_point = np.array((1509.46, 247.34))
|
||||
name_y = 77.60
|
||||
foot_y = 621.82
|
||||
if point < 80:
|
||||
if point[1] < 80:
|
||||
logger.warning(f'screen2direction: Point {point} to high')
|
||||
point[1] = 80
|
||||
point = (point[0], 80)
|
||||
|
||||
door_projection_bottom = (
|
||||
Points([point]).link(vanish_point).get_x(name_y)[0],
|
||||
|
Loading…
Reference in New Issue
Block a user