summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-01-14 23:03:35 +0100
committerAki <nthirtyone@gmail.com>2017-01-14 23:03:35 +0100
commitb80ba2f5a7bf7acbbbf14c1325fca8df3c39cac4 (patch)
treedbe0a5fc49691b2c40196a79a2be149cd6b1e410 /config
parentc0d3e5782bb5010730f22819c6e4a6ade9e64834 (diff)
downloadroflnauts-b80ba2f5a7bf7acbbbf14c1325fca8df3c39cac4.zip
roflnauts-b80ba2f5a7bf7acbbbf14c1325fca8df3c39cac4.tar.gz
roflnauts-b80ba2f5a7bf7acbbbf14c1325fca8df3c39cac4.tar.bz2
Fixed gamepad bug and overwrite bug
Diffstat (limited to 'config')
-rw-r--r--config/menusettings.lua2
1 files changed, 1 insertions, 1 deletions
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