Quantcast

- TitanLocation: Fix for _ local variable.

HonorGoG [08-02-19 - 05:27]
- TitanLocation: Fix for _ local variable.
Filename
TitanLocation/TitanLocation.lua
diff --git a/TitanLocation/TitanLocation.lua b/TitanLocation/TitanLocation.lua
index 8348c6e..e5b16d5 100755
--- a/TitanLocation/TitanLocation.lua
+++ b/TitanLocation/TitanLocation.lua
@@ -114,7 +114,8 @@ function TitanPanelLocationButton_GetButtonText(id)
 	if (TitanGetVar(TITAN_LOCATION_ID, "ShowZoneText")) then
 		if (TitanUtils_ToString(button.subZoneText) == '') then
 			if (button.zoneText == '') then
-				local _, _, button.zoneText = C_Map.GetMapInfo(C_Map.GetBestMapUnit("player"));
+				local _
+				_, _, button.zoneText = C_Map.GetMapInfo(C_Map.GetBestMapUnit("player"));
 			end
 			locationText = TitanUtils_ToString(button.zoneText)..' '..locationText;
 		else