From 5c53041d1493d784073fd167b3e94b68d9607789 Mon Sep 17 00:00:00 2001 From: Peter Eliasson Date: Sun, 7 Aug 2016 12:26:29 +0200 Subject: [PATCH] UpdateCurrentZone -> UpdateMyCurrentZone. To match UpdateMyGuildName. --- src/main.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.lua b/src/main.lua index 7dddbec..cee09fb 100644 --- a/src/main.lua +++ b/src/main.lua @@ -117,12 +117,12 @@ end -- Sets the current zone to the zone the player -- is currently in. -function addon:UpdateCurrentZone() +function addon:UpdateMyCurrentZone() local _, _, _, _, _, _, _, mapId = GetInstanceInfo(); local zoneName = GetRealZoneText(); self.currentZone = {id = mapId, name = zoneName}; - self:Debug("UpdateCurrentZone", mapId, zoneName) + self:Debug("UpdateMyCurrentZone", mapId, zoneName) end -- Creates the "database" via AceDB @@ -199,7 +199,7 @@ function addon:ENCOUNTER_END(evt, encounterId, encounterName, difficultyId, raid end function addon:ZONE_CHANGED_NEW_AREA(evt) - self:UpdateCurrentZone(); + self:UpdateMyCurrentZone(); end function addon:OnInitialize() @@ -223,7 +223,7 @@ function addon:OnEnable() end) self:UpdateMyGuildName(); - self:UpdateCurrentZone(); + self:UpdateMyCurrentZone(); if self.options:GetPurgeEnabled() then local maxDaysAge = self.options:GetPurgeMaxParseAge(); -- 1.7.9.5