Attempt to fix error in LAM
Talen-Shei [08-09-15 - 22:31]
Attempt to fix error in LAM
diff --git a/KeyBindSwapper.lua b/KeyBindSwapper.lua
index 4526089..0be5d71 100644
--- a/KeyBindSwapper.lua
+++ b/KeyBindSwapper.lua
@@ -296,18 +296,8 @@ local function CreateSettingsMenu()
sort = "name-up",
reference = "KBSProfiles",
default = "Main",
- getFunc = function()
- if KBS.Account.SingleTarget == true then
- return KBS.Account.BindingTarget
- else
- return KBS.Character.BindingTarget
- end,
- setFunc = function(bValue)
- if KBS.Account.SingleTarget == true then
- KBS.Account.BindingTarget = bValue
- else
- KBS.Character.BindingTarget = bValue
- end,
+ getFunc = function() if KBS.Account.SingleTarget == true then return KBS.Account.BindingTarget else return KBS.Character.BindingTarget end,
+ setFunc = function(bValue) if KBS.Account.SingleTarget == true then KBS.Account.BindingTarget = bValue else KBS.Character.BindingTarget = bValue end,
-- KBS.Character.BindingTarget = bValue end,
},
[5] = {