diff --git a/Event_wardrum_ogre.ogg b/Event_wardrum_ogre.ogg deleted file mode 100644 index bae6d94..0000000 Binary files a/Event_wardrum_ogre.ogg and /dev/null differ diff --git a/core.lua b/core.lua index 44249f8..7e3e46c 100644 --- a/core.lua +++ b/core.lua @@ -1,5 +1,5 @@ Aux = { - version = '2.5.5', + version = '2.5.6', blizzard_ui_shown = false, orig = {}, } diff --git a/persistence.lua b/persistence.lua index dc94803..2f8851d 100644 --- a/persistence.lua +++ b/persistence.lua @@ -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() diff --git a/scourge_horn.ogg b/scourge_horn.ogg deleted file mode 100644 index 80935ef..0000000 Binary files a/scourge_horn.ogg and /dev/null differ