From b80ba2f5a7bf7acbbbf14c1325fca8df3c39cac4 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 14 Jan 2017 23:03:35 +0100 Subject: Fixed gamepad bug and overwrite bug --- config/menusettings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/menusettings.lua b/config/menusettings.lua index 1b19e84..3046781 100644 --- a/config/menusettings.lua +++ b/config/menusettings.lua @@ -48,7 +48,7 @@ local controlreleased = function(self, set, action, key) dimmer:set("visible", false) self.parent.allowMove = true self.inProgress = false - table.insert(self.newSet, Controller.sets[self.setNumber()][7]) + table.insert(self.newSet, Controller.sets[self.setNumber()].joystick) print(self.newSet[7]) Settings.change(self.setNumber(), self.newSet[1], self.newSet[2], self.newSet[3], self.newSet[4], self.newSet[5], self.newSet[6], self.newSet[7]) else -- cgit v1.1