summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-06-06 21:57:23 +0200
committerAki <nthirtyone@gmail.com>2016-06-06 21:57:23 +0200
commit5d9addae1483c5ccfd75b39b50fb950315f9c55e (patch)
tree5bda417f014fe6340aa58aaec25e501034d45cf5
parentaf7494c5e311db2953544bf4667bddfe814f5193 (diff)
downloadroflnauts-5d9addae1483c5ccfd75b39b50fb950315f9c55e.zip
roflnauts-5d9addae1483c5ccfd75b39b50fb950315f9c55e.tar.gz
roflnauts-5d9addae1483c5ccfd75b39b50fb950315f9c55e.tar.bz2
Punch down anytime
-rw-r--r--player.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.lua b/player.lua
index d81ceb1..7a6a035 100644
--- a/player.lua
+++ b/player.lua
@@ -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")