bugfix in persistence

This commit is contained in:
Manuel Simon Hirsig
2016-02-06 21:10:10 +01:00
parent f0d8db7f36
commit 06e40e4565
2 changed files with 2 additions and 9 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
AuxVersion = '2.4.15'
AuxVersion = '2.4.16'
AuxAuthors = 'shirsig; Zerf; Zirco (Auctionator); Nimeral (Auctionator backport)'
Aux = {
+1 -8
View File
@@ -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