From a610d4f3c513107135ece5276afffa4223c7ee4b Mon Sep 17 00:00:00 2001 From: "Jakob L. Kreuze" Date: Fri, 26 Oct 2018 14:13:54 -0400 Subject: Rest of greetz and maps. Game is essentially complete --- player.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player.fnl') 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)) -- cgit v1.3