fix position
This commit is contained in:
parent
bbb323a278
commit
2421a540b2
1 changed files with 4 additions and 3 deletions
7
main.py
7
main.py
|
@ -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
|
||||
|
|
Reference in a new issue