diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-17 20:50:19 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-17 20:50:19 +0200 |
commit | e255bb314ca0a1d23cfde2c5ca20266c6e1a25af (patch) | |
tree | abd12eb7380fb964951b7c7e126701d4ea854977 | |
parent | 1bc9a66be76ddd8003bd021a354cec34083f6b3e (diff) | |
download | roflnauts-e255bb314ca0a1d23cfde2c5ca20266c6e1a25af.zip roflnauts-e255bb314ca0a1d23cfde2c5ca20266c6e1a25af.tar.gz roflnauts-e255bb314ca0a1d23cfde2c5ca20266c6e1a25af.tar.bz2 |
beginContact world ref
-rw-r--r-- | world.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ function World.beginContact(a, b, coll) print(b:getUserData().name .. " is not in air") b:getUserData().inAir = false b:getUserData().jumpdouble = true - w:createEffect("land", b:getBody():getX()-12, b:getBody():getY()-15) + b:getUserData().world:createEffect("land", b:getBody():getX()-12, b:getBody():getY()-15) end end |