summaryrefslogtreecommitdiff
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 15:42:39 -0300
commite0873f9b6d41aeffc38321e7a95e517e7cafd95b (patch)
tree6d63e90745c9b470477d3d6a826aaf18ccbe6c48
parent36f43df916516bf9284c6567849a4331bef4a553 (diff)
Minor fix in motionModule.motion()
-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