diff options
author | Aki <nthirtyone@gmail.com> | 2016-07-16 22:43:37 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-07-16 22:43:37 +0200 |
commit | c5e63ddf5d895db50c7e58a5ac2af05e91dff35f (patch) | |
tree | 2b400b8ebced795ec9867ea59465673c2085f3f4 /world.lua | |
parent | 89c07885fe40000681235f75798a3d4c519009a9 (diff) | |
download | roflnauts-c5e63ddf5d895db50c7e58a5ac2af05e91dff35f.zip roflnauts-c5e63ddf5d895db50c7e58a5ac2af05e91dff35f.tar.gz roflnauts-c5e63ddf5d895db50c7e58a5ac2af05e91dff35f.tar.bz2 |
Initials/moves
Diffstat (limited to 'world.lua')
-rw-r--r-- | world.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -357,6 +357,7 @@ function World.beginContact(a, b, coll) local x,y = coll:getNormal() if y == -1 then print(b:getUserData().name .. " is not in air") + -- Move them to Player b:getUserData().inAir = false b:getUserData().jumpnumber = 2 b:getUserData().salto = false @@ -373,6 +374,7 @@ end function World.endContact(a, b, coll) if a:getCategory() == 1 then print(b:getUserData().name .. " is in air") + -- Move them to Player b:getUserData().inAir = true end end |