summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index 8cd2faa..317a8ba 100644
--- a/api.lua
+++ b/api.lua
@@ -3,7 +3,7 @@
mobs = {}
mobs.mod = "redo"
-mobs.version = "20180118"
+mobs.version = "20180122"
-- Intllib
@@ -744,7 +744,9 @@ local do_jump = function(self)
self.object:setvelocity(v)
+if get_velocity(self) > 0 then
mob_sound(self, self.sounds.jump)
+end
else
self.facing_fence = true
end