diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-09 02:03:21 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-09 02:03:21 +0200 |
commit | c36b981f54d22c3891856c64b6be780815e8b7df (patch) | |
tree | a0d7cab756e52782db4e16bad3ce52d7f55b13dd /not/Player.lua | |
parent | 6124f00707856980f1c5a7809ebf03351783f4a4 (diff) | |
download | roflnauts-c36b981f54d22c3891856c64b6be780815e8b7df.zip roflnauts-c36b981f54d22c3891856c64b6be780815e8b7df.tar.gz roflnauts-c36b981f54d22c3891856c64b6be780815e8b7df.tar.bz2 |
Changed jump-related-variables to match to newer parts of code
Diffstat (limited to 'not/Player.lua')
-rw-r--r-- | not/Player.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Player.lua b/not/Player.lua index 3722cb3..5e73e25 100644 --- a/not/Player.lua +++ b/not/Player.lua @@ -63,7 +63,7 @@ function Player:controlreleased (set, action, key) if set ~= self:getControllerSet() then return end -- Jumping if action == "jump" then - self.jumpTimer = Hero.jumpTimer -- take initial from metatable + self.jumpTimer = Hero.JUMP_TIMER end -- Walking if (action == "left" or action == "right") then |