summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-11-24 11:30:02 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-11-24 11:32:05 -0300
commita7b83a7c8c3e5ca34a3f5e8adf436e0dbfde65aa (patch)
tree64d7e0ca25198d32d6f3805ae58a3cfa3b636831 /src
parent164cc99bb3fd3bfe42131a3a9bb2f41c61f03b70 (diff)
Minor fix in motionModule.motion()
Diffstat (limited to 'src')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua
index 61f0ce0..d9e0e68 100644
--- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua
@@ -1,7 +1,7 @@
local motionModule = {}
function motionModule.motion(dt)
- if love.keyboard.isDown(button.left) or love.keyboard.isScancodeDown(button.right) or love.keyboard.isScancodeDown(button.up) or love.keyboard.isScancodeDown(button.down) then
+ if love.keyboard.isDown(button.left, button.right, button.up, button.down) then
if love.keyboard.isDown(button.left) then
walkLeft(dt)
elseif love.keyboard.isScancodeDown(button.right) then