Typo Fix

Talen-Shei [08-09-15 - 22:53]
Typo Fix
Filename
KeyBindSwapper.lua
diff --git a/KeyBindSwapper.lua b/KeyBindSwapper.lua
index ef0aa76..8c8d908 100644
--- a/KeyBindSwapper.lua
+++ b/KeyBindSwapper.lua
@@ -247,6 +247,10 @@ function getProfile()
 	end
 end

+function setProfile(value)
+	profile = getProfile()
+	profile = value
+end

 ---------------------LAM 2.0 SETTINGS--------------------------

@@ -304,8 +308,8 @@ local function CreateSettingsMenu()
 			sort = "name-up",
 			reference = "KBSProfiles",
 			default = "Main",
-			getFunc = GetProfile(),
-			setFunc = GetProfile(),
+			getFunc = function() getProfile() end,
+			setFunc = function(bValue) setProfile(bValue) end,
 			 -- KBS.Character.BindingTarget = bValue end,
 		},
 		[5] = {