persistence bugfix
This commit is contained in:
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
Aux = {
|
||||
version = '2.5.5',
|
||||
version = '2.5.6',
|
||||
blizzard_ui_shown = false,
|
||||
orig = {},
|
||||
}
|
||||
|
||||
+3
-3
@@ -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()
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user