diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-20 15:43:08 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-20 15:43:08 +0200 |
commit | cdec3cf410bba80d037fda760da06e9e3ed75945 (patch) | |
tree | ea27bbb40676a7eece5e071291cf311911af02e4 | |
parent | f2979320625eceeaadd594ccf6bad6c6b2543aff (diff) | |
download | roflnauts-cdec3cf410bba80d037fda760da06e9e3ed75945.zip roflnauts-cdec3cf410bba80d037fda760da06e9e3ed75945.tar.gz roflnauts-cdec3cf410bba80d037fda760da06e9e3ed75945.tar.bz2 |
Removed obsolete verbose call of addFixture
-rw-r--r-- | not/Trap.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Trap.lua b/not/Trap.lua index 2ebb4d2..84de5b0 100644 --- a/not/Trap.lua +++ b/not/Trap.lua @@ -29,7 +29,7 @@ function Trap:new (direction, x, y, world, imagePath) local mirror = 1 if direction == "left" then mirror = -1 end - local fixture = Trap.__super.addFixture(self, {0, 0, 41 * mirror, 0, 41 * mirror, 18, 0, 18}) + local fixture = self:addFixture({0, 0, 41 * mirror, 0, 41 * mirror, 18, 0, 18}) fixture:setCategory(3) fixture:setMask(1) fixture:setUserData({0, direction}) |