From b97985def64b8bd8f93a7b391b12333595432e52 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 21 Sep 2017 17:54:02 +0200 Subject: It would work, but it wasn't intended --- not/World.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'not/World.lua') diff --git a/not/World.lua b/not/World.lua index c656ac8..4523efa 100644 --- a/not/World.lua +++ b/not/World.lua @@ -419,7 +419,7 @@ function World:beginContact (a, b, coll) b:getUserData():land() end local vx, vy = b:getUserData().body:getLinearVelocity() - if math.abs(x) == COLL_PLATFORM or (y < -0.6 and x == 0) then + if math.abs(x) == 1 or (y < -0.6 and x == 0) then b:getUserData():playSound(3) end end -- cgit v1.1