Skip to content

Commit

Permalink
Fix jump
Browse files Browse the repository at this point in the history
Jumping sometimes fails to bring you up enough to climb a block. Increasing slightly the jump speed fixes this.
  • Loading branch information
progval committed Apr 3, 2013
1 parent 92723e7 commit df11777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def on_key_press(self, symbol, modifiers):
self.strafe[1] += 1
elif symbol == key.SPACE:
if self.dy == 0:
self.dy = 0.015 # jump speed
self.dy = 0.016 # jump speed
elif symbol == key.ESCAPE:
self.set_exclusive_mouse(False)
elif symbol == key.TAB:
Expand Down

0 comments on commit df11777

Please sign in to comment.