Use two save files?

Talen-Shei [08-09-15 - 17:43]
Use two save files?
Filename
KeyBindSwapper.lua
KeyBindSwapper.txt
diff --git a/KeyBindSwapper.lua b/KeyBindSwapper.lua
index 3658d0a..60aa964 100644
--- a/KeyBindSwapper.lua
+++ b/KeyBindSwapper.lua
@@ -356,7 +356,7 @@ function InitializePlugin ()
     else
         KBS.Global = KeyBindSwapperSettings
     end
-	KBS.Character = ZO_SavedVars:New(KBS.SettingsFile, KBS.SAVED_VAR_VERSION, nil, KBS.Defaults.Character, KBS.SVProfile)
+	KBS.Character = ZO_SavedVars:New("KBSCharSettings", KBS.SAVED_VAR_VERSION, nil, KBS.Defaults.Character, KBS.SVProfile)
 	EVENT_MANAGER:UnregisterForEvent("KeyBindSwapper", EVENT_ADD_ON_LOADED)
 	if KBS.Character.SyncMode == "Automatic" then
 		setKeyBinds()
diff --git a/KeyBindSwapper.txt b/KeyBindSwapper.txt
index 75b8c4d..9fcbd6b 100644
--- a/KeyBindSwapper.txt
+++ b/KeyBindSwapper.txt
@@ -3,7 +3,7 @@
 ## Version: 0.51
 ## Author: Talen-Shei
 ## OptionalDependsOn: LibAddonMenu-2.0
-## SavedVariables: KeyBindSwapperSettings
+## SavedVariables: KeyBindSwapperSettings KBSCharSettings

 libs\LibStub\LibStub.lua