diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-12-15 18:52:49 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-17 21:23:17 -0300 |
commit | 7e81c539d144732f537f703136c495d89a5bdf9c (patch) | |
tree | 1bf5f31b37e81c9ffcaf79f3b01707160e5bfddd /src/gnu_and_bola_brawlers | |
parent | 2b3ce0c3edc551666f2d96599378838309fb6f68 (diff) |
Minor fix
Diffstat (limited to 'src/gnu_and_bola_brawlers')
-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) |