fix position

This commit is contained in:
Mylloon 2023-09-24 01:35:55 +02:00
parent bbb323a278
commit 2421a540b2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -26,10 +26,11 @@ if __name__ == "__main__":
# If we find a burger
if len(locations):
coordinates = locations[0]
print(f"Find a golden burger at {coordinates[0]}x{coordinates[1]}")
x, y = locations[0][0] + 20, locations[0][1] + 10
print(f"Find a golden burger at {x}x{y}")
# Move and click
moveTo(coordinates[0], coordinates[1])
moveTo(x, y)
click()
# Wait a second every loop