persistence bugfix
This commit is contained in:
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
Aux = {
|
Aux = {
|
||||||
version = '2.5.5',
|
version = '2.5.6',
|
||||||
blizzard_ui_shown = false,
|
blizzard_ui_shown = false,
|
||||||
orig = {},
|
orig = {},
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -4,12 +4,12 @@ Aux.persistence = public
|
|||||||
aux_database = {}
|
aux_database = {}
|
||||||
|
|
||||||
function public.on_load()
|
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
|
end
|
||||||
|
|
||||||
function private.get_dataset_key()
|
function private.get_dataset_key()
|
||||||
local realm = GetCVar('realmName')
|
return private.realm..'|'..private.faction
|
||||||
local faction = UnitFactionGroup('player')
|
|
||||||
return realm..'|'..faction
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function public.load_dataset()
|
function public.load_dataset()
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user