summaryrefslogtreecommitdiff
path: root/slimeball.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'slimeball.fnl')
-rw-r--r--slimeball.fnl4
1 files changed, 1 insertions, 3 deletions
diff --git a/slimeball.fnl b/slimeball.fnl
index 058763e..daf9108 100644
--- a/slimeball.fnl
+++ b/slimeball.fnl
@@ -46,9 +46,7 @@
:width (. slimeball-sheet :width)
:height (. slimeball-sheet :height)
- :x-pos (if (= :right orientation)
- (+ player-x player-width)
- (- player-x player-width))
+ :x-pos player-x
:y-pos player-y
:x-vel (if (. player :action :sliming-up)