From 06e40e4565aa493f2d439db9b7df8a062c995726 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sat, 6 Feb 2016 21:10:10 +0100 Subject: [PATCH] bugfix in persistence --- core.lua | 2 +- persistence.lua | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) 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