summaryrefslogtreecommitdiffhomepage
path: root/not/Hero.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-07-19 14:50:25 +0200
committerAki <nthirtyone@gmail.com>2017-07-19 14:50:25 +0200
commit657eb912abc89a71d16ea60516458ad6c72f6a4e (patch)
treea7e5a3c23e309aa954f95511cfa6f911536fb7b5 /not/Hero.lua
parent9b75ea38f0194dfffc89c0144c1ab0efb8b4f392 (diff)
downloadroflnauts-657eb912abc89a71d16ea60516458ad6c72f6a4e.zip
roflnauts-657eb912abc89a71d16ea60516458ad6c72f6a4e.tar.gz
roflnauts-657eb912abc89a71d16ea60516458ad6c72f6a4e.tar.bz2
Initial clash
No additional effect, rusty mechanics for now
Diffstat (limited to 'not/Hero.lua')
-rw-r--r--not/Hero.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Hero.lua b/not/Hero.lua
index 13ab3dd..5c3d9f4 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -234,7 +234,7 @@ function Hero:punch (direction)
local fixture = self:addFixture(shape, 0)
fixture:setSensor(true)
fixture:setCategory(3)
- fixture:setMask(1,3)
+ fixture:setMask(1)
fixture:setGroupIndex(self.group)
fixture:setUserData({Hero.PUNCH_FIXTURE_LIFETIME, direction})
self:playSound(4)