diff options
Diffstat (limited to 'not/Settings.lua')
-rw-r--r-- | not/Settings.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/not/Settings.lua b/not/Settings.lua index 358aa79..7d5f489 100644 --- a/not/Settings.lua +++ b/not/Settings.lua @@ -36,9 +36,7 @@ local function controllerLoad () local isJoystick = set[7] local joystick if isJoystick then - -- take and remove first joystick from list - joystick = joysticksList[1] - table.remove(joysticksList, 1) + joystick = table.remove(joysticksList, 1) end if not isJoystick or joystick then Controller.registerSet(set[1], set[2], set[3], set[4], set[5], set[6], joystick) |