summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_brawlers/main.lua
diff options
context:
space:
mode:
authorJorge Lopez Seijas <jorginho@riseup.net>2016-12-17 21:57:32 +0100
committerJorge Lopez Seijas <jorginho@riseup.net>2016-12-17 21:57:32 +0100
commit49b7a1b4f07515840212595dee16d277f186aeca (patch)
tree539a0d54a046bbd9eda8671a6588c027b4ed3179 /src/gnu_and_bola_brawlers/main.lua
parentcec52236adf5634e1e27b0c43880d0c257028eca (diff)
Comment some files and fix minor bug in load/default.lua
Diffstat (limited to 'src/gnu_and_bola_brawlers/main.lua')
-rw-r--r--src/gnu_and_bola_brawlers/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnu_and_bola_brawlers/main.lua b/src/gnu_and_bola_brawlers/main.lua
index e8f76f7..40299a5 100644
--- a/src/gnu_and_bola_brawlers/main.lua
+++ b/src/gnu_and_bola_brawlers/main.lua
@@ -5,7 +5,7 @@ end
function love.keypressed(key, scancode)
local keypressed = require 'keypressed/default'
- keypressed.trigger(character.bola, images.bola, metaSprite.bola, controller.player1, key, scancode)
+ metaSprite.bola = keypressed.trigger(character.bola, images.bola, metaSprite.bola, controller.player1, key, scancode)
end
function love.keyreleased(key, scancode)