summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-15 01:59:36 +0200
committerAki <nthirtyone@gmail.com>2016-08-15 01:59:36 +0200
commit5b031b6c01c894111584907928261fabb7f86182 (patch)
treed51f7829c585fcd92862212448697ac8f6d5856c
parentb0f8d8b862732d41150dddcdc192f7f6c93cfa09 (diff)
downloadroflnauts-5b031b6c01c894111584907928261fabb7f86182.zip
roflnauts-5b031b6c01c894111584907928261fabb7f86182.tar.gz
roflnauts-5b031b6c01c894111584907928261fabb7f86182.tar.bz2
clean-up
-rw-r--r--menu.lua2
-rw-r--r--player.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/menu.lua b/menu.lua
index 73457b1..738a1d1 100644
--- a/menu.lua
+++ b/menu.lua
@@ -201,7 +201,7 @@ function Menu:controlpressed(set, action, key)
end
-- speed up the countdown
if action ~= "jump" then
- self:countdownJump()
+ self:countdownJump() -- that's funny isn't it? if not jump then jump
end
end
function Menu:controlreleased(set, action, key)
diff --git a/player.lua b/player.lua
index 7d9d35c..56b0505 100644
--- a/player.lua
+++ b/player.lua
@@ -98,7 +98,7 @@ function Player:update(dt)
if self.body:isDestroyed() then return end
-- # LOCALS
local x,y = self.body:getLinearVelocity()
- print(Controller.isDown(self:getControlSet(), "left"))
+
-- # VERTICAL MOVEMENT
-- Jumping
if self.jumpactive and self.jumptimer > 0 then