Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparks29032 authored Mar 18, 2022
1 parent 467e625 commit cf8d433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions event_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ def m_on_click(x, y, button, pressed):
# if the button is pressed down
if pressed:
# various mouse buttons
if str(button) == "Button.left":
if str(button) == "Button.right":
character.click_mouse(-30, 20)
if str(button) == "Button.middle":
character.click_mouse(-20, 20)
if str(button) == "Button.right":
if str(button) == "Button.left":
character.click_mouse(-10, 20)

# otherwise, release it
Expand Down

0 comments on commit cf8d433

Please sign in to comment.