summaryrefslogtreecommitdiff
path: root/slimeball.fnl
diff options
context:
space:
mode:
authorJakob L. Kreuze <jakob@memeware.net>2018-10-26 14:13:54 -0400
committerJakob L. Kreuze <jakob@memeware.net>2018-10-26 14:13:54 -0400
commita610d4f3c513107135ece5276afffa4223c7ee4b (patch)
tree5bf84c3afe6608f3b3582240587a29f86b9d7c3e /slimeball.fnl
parent558d16e8b2577f9c698a75b833dfc08af4133db9 (diff)
Rest of greetz and maps. Game is essentially complete
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)