Experimental stuff with SVprofiles
Talen-Shei [08-09-15 - 16:46]
Experimental stuff with SVprofiles
diff --git a/KeyBindSwapper.lua b/KeyBindSwapper.lua
index f89f7ca..dda1f93 100644
--- a/KeyBindSwapper.lua
+++ b/KeyBindSwapper.lua
@@ -22,6 +22,7 @@ KBS.SAVED_VAR_VERSION = 0.3
KBS.UsableOnly = true
KBS.SettingsFile = "KeyBindSwapperSettings"
KBS.Name = "Talen-Shei's Keybind Swapper"
+KBS.SVProfile = "KBSMultiAccount" -- Experimental stuff here.
---------------------------KEYBIND MANAGEMENT-------------------------------
--[[
@@ -351,7 +352,7 @@ end
function InitializePlugin ()
KBS.Character = ZO_SavedVars:New(KBS.SettingsFile, KBS.SAVED_VAR_VERSION, nil, KBS.Defaults.Character, nil)
- KBS.Global = ZO_SavedVars:NewAccountWide(KBS.SettingsFile, KBS.SAVED_VAR_VERSION, nil, KBS.Defaults.Global, nil)
+ KBS.Global = ZO_SavedVars:NewAccountWide(KBS.SettingsFile, KBS.SAVED_VAR_VERSION, nil, KBS.Defaults.Global, KBS.SVProfile)
EVENT_MANAGER:UnregisterForEvent("KeyBindSwapper", EVENT_ADD_ON_LOADED)
if KBS.Character.SyncMode == "Automatic" then
setKeyBinds()