From 467bb5de52c8c8e39429b52f76c8106fe6d57c20 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 15 Dec 2016 18:52:49 -0300 Subject: Minor fix --- src/gnu_and_bola_brawlers/keyreleased/default.lua | 2 +- 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) -- cgit v1.2.3-54-g00ecf