bugfix in persistence
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
AuxVersion = '2.4.15'
|
||||
AuxVersion = '2.4.16'
|
||||
AuxAuthors = 'shirsig; Zerf; Zirco (Auctionator); Nimeral (Auctionator backport)'
|
||||
|
||||
Aux = {
|
||||
|
||||
+1
-8
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user