Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
Update example3.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkauzh committed Jan 6, 2024
1 parent 0e5eb99 commit ac75fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example3.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def loop():
elif fusion.Key(fusion.KEY_DOWN).key_down():
player.y = int(player.y + speed)

if fusion.Key(fusion.KEY_RIGHT).key_down():
elif fusion.Key(fusion.KEY_RIGHT).key_down():
player.x = int(player.x + speed)

elif fusion.Key(fusion.KEY_LEFT).key_down():
Expand Down

0 comments on commit ac75fdb

Please sign in to comment.