diff --git a/core.lua b/core.lua index 203db30..d073ffc 100644 --- a/core.lua +++ b/core.lua @@ -1,4 +1,4 @@ -AuxVersion = '2.4.15' +AuxVersion = '2.4.16' AuxAuthors = 'shirsig; Zerf; Zirco (Auctionator); Nimeral (Auctionator backport)' Aux = { diff --git a/persistence.lua b/persistence.lua index bc733b9..69c8334 100644 --- a/persistence.lua +++ b/persistence.lua @@ -19,14 +19,7 @@ end function private.get_dataset_key() local realm = GetCVar('realmName') - local zone = GetMinimapZoneText() - local faction - -- TODO use UnitFactionGroup(unit) or race with auctioneer instead to work for all locales - if zone == 'Gadgetzan' or zone == 'Everlook' or zone == 'Booty Bay' then - faction = 'Neutral' - else - faction = UnitFactionGroup('player') - end + local faction = UnitFactionGroup('player') return realm..'|'..faction end