summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--world.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/world.lua b/world.lua
index 01fed0b..d5e67fd 100644
--- a/world.lua
+++ b/world.lua
@@ -378,7 +378,7 @@ function World.beginContact(a, b, coll)
b:getUserData():createEffect("land")
end
local vx, vy = b:getUserData().body:getLinearVelocity()
- if math.abs(x) == 1 or (y == -1 and x == 0) then
+ if math.abs(x) == 1 or (y < -0.6 and x == 0) then
b:getUserData():playSound(3)
end
end