Skip to content
Snippets Groups Projects
Commit aa72016f authored by dg's avatar dg
Browse files

Keeping 5 pressed to spend time will correctly pass time

git-svn-id: http://svn.net-core.org/repos/t-engine4@1596 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6c7cca63
No related branches found
No related tags found
No related merge requests found
......@@ -651,7 +651,7 @@ function _M:setupCommands()
MOVE_LEFT_DOWN = function() self.player:moveDir(1) end,
MOVE_RIGHT_UP = function() self.player:moveDir(9) end,
MOVE_RIGHT_DOWN = function() self.player:moveDir(3) end,
MOVE_STAY = function() self.player:useEnergy() end,
MOVE_STAY = function() if self:enoughEnergy() then self.player:useEnergy() end end,
RUN_LEFT = function() self.player:runInit(4) end,
RUN_RIGHT = function() self.player:runInit(6) end,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment