diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-21 17:54:02 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-21 17:54:02 +0200 |
commit | b97985def64b8bd8f93a7b391b12333595432e52 (patch) | |
tree | aabd3f1a911dbb8793b149978ca4725d45409523 /not/World.lua | |
parent | 5b69916da9b58818da16841a0213716c55b3f07a (diff) | |
download | roflnauts-b97985def64b8bd8f93a7b391b12333595432e52.zip roflnauts-b97985def64b8bd8f93a7b391b12333595432e52.tar.gz roflnauts-b97985def64b8bd8f93a7b391b12333595432e52.tar.bz2 |
It would work, but it wasn't intended
Diffstat (limited to 'not/World.lua')
-rw-r--r-- | not/World.lua | 2 |
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 |