persistence bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-02-27 17:59:28 +01:00
parent ea886412e1
commit 94c6121c4c
4 changed files with 4 additions and 4 deletions
Binary file not shown.
+1 -1
View File
@@ -1,5 +1,5 @@
Aux = {
version = '2.5.5',
version = '2.5.6',
blizzard_ui_shown = false,
orig = {},
}
+3 -3
View File
@@ -4,12 +4,12 @@ Aux.persistence = public
aux_database = {}
function public.on_load()
Aux.control.as_soon_as(function() private.faction = UnitFactionGroup('player') return private.faction end, Aux.util.pass)
private.realm = GetCVar('realmName')
end
function private.get_dataset_key()
local realm = GetCVar('realmName')
local faction = UnitFactionGroup('player')
return realm..'|'..faction
return private.realm..'|'..private.faction
end
function public.load_dataset()
BIN
View File
Binary file not shown.