summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_brawlers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnu_and_bola_brawlers')
-rw-r--r--src/gnu_and_bola_brawlers/keyreleased/default.lua2
-rw-r--r--src/gnu_and_bola_brawlers/main.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gnu_and_bola_brawlers/keyreleased/default.lua b/src/gnu_and_bola_brawlers/keyreleased/default.lua
index 7295131..99376e9 100644
--- a/src/gnu_and_bola_brawlers/keyreleased/default.lua
+++ b/src/gnu_and_bola_brawlers/keyreleased/default.lua
@@ -1,6 +1,6 @@
local keyreleased = {}
-keyreleased.trigger = function(character, key, controller, scancode)
+keyreleased.trigger = function(character, controller, key, scancode)
if scancode == controller.a then
character.actionA = false
end
diff --git a/src/gnu_and_bola_brawlers/main.lua b/src/gnu_and_bola_brawlers/main.lua
index d6278c4..e8f76f7 100644
--- a/src/gnu_and_bola_brawlers/main.lua
+++ b/src/gnu_and_bola_brawlers/main.lua
@@ -10,7 +10,7 @@ end
function love.keyreleased(key, scancode)
local keyreleased = require 'keyreleased/default'
- keyreleased.trigger(character.bola, key, controller.player1, scancode)
+ keyreleased.trigger(character.bola, controller.player1, key, scancode)
end
function love.update(dt)