summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua8
1 files changed, 7 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 1aafddd..fcb617c 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
@@ -10,7 +10,13 @@ function motionModule.motion(dt)
pause(dt)
end
elseif love.keyboard.isDown(button.select) then
- select(dt)
+ if arcade == true then
+ coin(dt)
+ elseif arcade == false then
+ if menu == true then
+ select(dt)
+ end
+ end
elseif love.keyboard.isDown(button.a) then
if menu == true then
accept(dt)