diff options
author | Aki <nthirtyone@gmail.com> | 2016-06-06 21:57:23 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-06-06 21:57:23 +0200 |
commit | 5d9addae1483c5ccfd75b39b50fb950315f9c55e (patch) | |
tree | 5bda417f014fe6340aa58aaec25e501034d45cf5 | |
parent | af7494c5e311db2953544bf4667bddfe814f5193 (diff) | |
download | roflnauts-5d9addae1483c5ccfd75b39b50fb950315f9c55e.zip roflnauts-5d9addae1483c5ccfd75b39b50fb950315f9c55e.tar.gz roflnauts-5d9addae1483c5ccfd75b39b50fb950315f9c55e.tar.bz2 |
Punch down anytime
-rw-r--r-- | player.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -232,7 +232,7 @@ function Player:controllerPressed (key) self:changeAnimation("attack_up") end self:hit(2*f,-10,3*f,7, 0, -1) - elseif controller:isDown("down") and self.inAir then + elseif controller:isDown("down") then -- Punch down if self.current ~= self.animations.damage then self:changeAnimation("attack_down") |