diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-12-15 18:52:49 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-12-15 18:52:49 -0300 |
commit | 467bb5de52c8c8e39429b52f76c8106fe6d57c20 (patch) | |
tree | 57be3be6d7cd83f8519febbf71fd699e8d9cac34 | |
parent | 28e2f065f638efcffd4e541234ebc070b5f51956 (diff) |
Minor fix
-rw-r--r-- | src/gnu_and_bola_brawlers/keyreleased/default.lua | 2 | ||||
-rw-r--r-- | src/gnu_and_bola_brawlers/main.lua | 2 |
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) |