From d80e508f02dcd607f315ef7ddfe13bcfae2a9e1b Mon Sep 17 00:00:00 2001 From: HonorGoG Date: Thu, 8 Aug 2019 20:34:21 -0700 Subject: [PATCH] - TitanLocation: Corrected local call to proper layer. --- TitanLocation/TitanLocation.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TitanLocation/TitanLocation.lua b/TitanLocation/TitanLocation.lua index e5b16d5..5062af7 100755 --- a/TitanLocation/TitanLocation.lua +++ b/TitanLocation/TitanLocation.lua @@ -237,14 +237,15 @@ function TitanPanelLocationButton_OnClick(self, button) if (IsShiftKeyDown()) then local activeWindow = ChatEdit_GetActiveWindow(); if ( activeWindow ) then + local message; if (TitanGetVar(TITAN_LOCATION_ID, "CoordsFormat1")) then - local message = TitanUtils_ToString(self.zoneText).." ".. + message = TitanUtils_ToString(self.zoneText).." ".. format(L["TITAN_LOCATION_FORMAT"], 100 * self.px, 100 * self.py); elseif (TitanGetVar(TITAN_LOCATION_ID, "CoordsFormat2")) then - local message = TitanUtils_ToString(self.zoneText).." ".. + message = TitanUtils_ToString(self.zoneText).." ".. format(L["TITAN_LOCATION_FORMAT2"], 100 * self.px, 100 * self.py); elseif (TitanGetVar(TITAN_LOCATION_ID, "CoordsFormat3")) then - local message = TitanUtils_ToString(self.zoneText).." ".. + message = TitanUtils_ToString(self.zoneText).." ".. format(L["TITAN_LOCATION_FORMAT3"], 100 * self.px, 100 * self.py); end activeWindow:Insert(message); -- 1.7.9.5