summaryrefslogtreecommitdiff
path: root/player.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'player.fnl')
-rw-r--r--player.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.fnl b/player.fnl
index d9e8475..f86ed62 100644
--- a/player.fnl
+++ b/player.fnl
@@ -75,7 +75,7 @@
(fn bounce [player x-normal y-normal]
(tset player :x-vel (- (* 8 x-normal) (. player :x-vel)))
- (tset player :y-vel (- (math.abs (* 8 y-normal)) (. player :y-vel))))
+ (tset player :y-vel (- (. player :y-vel) (math.abs (* 8 y-normal)))))
(fn face-upwards [player]
(tset player :action :sliming-up true))