Quantcast

- TitanClassicLocation: Corrected logic for new Zone/SubZone display.

HonorGoG [11-16-19 - 00:21]
- TitanClassicLocation: Corrected logic for new Zone/SubZone display.
- Corrected bottom artwork for AllBlack and BlackPlusOne.
Filename
TitanClassic/Artwork/Custom/AllBlack Skin/TitanPanelBackgroundBottom0.tga
TitanClassic/Artwork/Custom/BlackPlusOne Skin/TitanPanelBackgroundBottom0.tga
TitanClassicLocation/TitanClassicLocation.lua
diff --git a/TitanClassic/Artwork/Custom/AllBlack Skin/TitanPanelBackgroundBottom0.tga b/TitanClassic/Artwork/Custom/AllBlack Skin/TitanPanelBackgroundBottom0.tga
index 9b7af2f..42a0afb 100644
Binary files a/TitanClassic/Artwork/Custom/AllBlack Skin/TitanPanelBackgroundBottom0.tga and b/TitanClassic/Artwork/Custom/AllBlack Skin/TitanPanelBackgroundBottom0.tga differ
diff --git a/TitanClassic/Artwork/Custom/BlackPlusOne Skin/TitanPanelBackgroundBottom0.tga b/TitanClassic/Artwork/Custom/BlackPlusOne Skin/TitanPanelBackgroundBottom0.tga
index ed78b71..f1ca360 100644
Binary files a/TitanClassic/Artwork/Custom/BlackPlusOne Skin/TitanPanelBackgroundBottom0.tga and b/TitanClassic/Artwork/Custom/BlackPlusOne Skin/TitanPanelBackgroundBottom0.tga differ
diff --git a/TitanClassicLocation/TitanClassicLocation.lua b/TitanClassicLocation/TitanClassicLocation.lua
index 9c61ffc..2b5d62f 100755
--- a/TitanClassicLocation/TitanClassicLocation.lua
+++ b/TitanClassicLocation/TitanClassicLocation.lua
@@ -118,13 +118,13 @@ function TitanPanelLocationButton_GetButtonText(id)
 			if (button.zoneText == '') then
 				_, _, button.zoneText = C_Map.GetMapInfo(C_Map.GetBestMapUnit("player"));
 			end
-			if (ShowSubZoneText) then
+            locationText = TitanUtils_ToString(button.zoneText)..' '..locationText;
+		else
+			if (TitanGetVar(TITAN_LOCATION_ID, "ShowSubZoneText")) then
                 locationText = TitanUtils_ToString(button.zoneText)..' '..locationText;
             else
                 locationText = TitanUtils_ToString(button.zoneText..' - '..button.subZoneText)..' '..locationText;
             end
-		else
-			locationText = TitanUtils_ToString(button.subZoneText)..' '..locationText;
 		end
 	else
 		if button.px == 0 and button.py == 0 then