summaryrefslogtreecommitdiffhomepage
path: root/not/Player.lua
diff options
context:
space:
mode:
Diffstat (limited to 'not/Player.lua')
-rw-r--r--not/Player.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/not/Player.lua b/not/Player.lua
index 5e73e25..b33e229 100644
--- a/not/Player.lua
+++ b/not/Player.lua
@@ -65,14 +65,6 @@ function Player:controlreleased (set, action, key)
if action == "jump" then
self.jumpTimer = Hero.JUMP_TIMER
end
- -- Walking
- if (action == "left" or action == "right") then
- if not (self:isControlDown("left") or self:isControlDown("right")) then
- if self.current == self.animations.walk then
- self:setAnimation("default")
- end
- end
- end
end
return Player