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)'
|
AuxAuthors = 'shirsig; Zerf; Zirco (Auctionator); Nimeral (Auctionator backport)'
|
||||||
|
|
||||||
Aux = {
|
Aux = {
|
||||||
|
|||||||
+1
-8
@@ -19,14 +19,7 @@ end
|
|||||||
|
|
||||||
function private.get_dataset_key()
|
function private.get_dataset_key()
|
||||||
local realm = GetCVar('realmName')
|
local realm = GetCVar('realmName')
|
||||||
local zone = GetMinimapZoneText()
|
local faction = UnitFactionGroup('player')
|
||||||
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
|
|
||||||
return realm..'|'..faction
|
return realm..'|'..faction
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user