summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-21 17:54:02 +0200
committerAki <nthirtyone@gmail.com>2017-09-21 17:54:02 +0200
commitb97985def64b8bd8f93a7b391b12333595432e52 (patch)
treeaabd3f1a911dbb8793b149978ca4725d45409523 /not
parent5b69916da9b58818da16841a0213716c55b3f07a (diff)
downloadroflnauts-b97985def64b8bd8f93a7b391b12333595432e52.zip
roflnauts-b97985def64b8bd8f93a7b391b12333595432e52.tar.gz
roflnauts-b97985def64b8bd8f93a7b391b12333595432e52.tar.bz2
It would work, but it wasn't intended
Diffstat (limited to 'not')
-rw-r--r--not/World.lua2
1 files changed, 1 insertions, 1 deletions
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