diff --git a/src/cljs/topdown2d/collision.cljs b/src/cljs/topdown2d/collision.cljs index 3fea4f3..9250dfa 100644 --- a/src/cljs/topdown2d/collision.cljs +++ b/src/cljs/topdown2d/collision.cljs @@ -46,7 +46,7 @@ :w (assoc obj :x (+ ox ow 1)) :e (assoc obj :x (dec (- ox w))) :n (assoc obj :y (+ oy oh 1)) - :s (assoc obj :y (dec (- oy h))) + :s (assoc obj :y (dec (- oy h))) obj))) (defn bump-inside-container [obj container]