Quantcast

- Fixed played message showing up when Silenced start was active.

HonorGoG [07-04-21 - 21:55]
- Fixed played message showing up when Silenced start was active.
Filename
TitanClassic/TitanPanelClassic.lua
TitanClassicXP/TitanClassicXP.lua
diff --git a/TitanClassic/TitanPanelClassic.lua b/TitanClassic/TitanPanelClassic.lua
index 67b8ff4..43999a7 100644
--- a/TitanClassic/TitanPanelClassic.lua
+++ b/TitanClassic/TitanPanelClassic.lua
@@ -326,7 +326,7 @@ NOTE:
 --]]
 function TitanPanel_PlayerEnteringWorld()
 	if Titan__InitializedPEW then
-		-- Also sync the LDB object with the Tian plugin
+		-- Also sync the LDB object with the Titan plugin
 		TitanLDBRefreshButton()
 	else
 		-- Get Profile and Saved Vars
diff --git a/TitanClassicXP/TitanClassicXP.lua b/TitanClassicXP/TitanClassicXP.lua
index 9b90108..bd22408 100644
--- a/TitanClassicXP/TitanClassicXP.lua
+++ b/TitanClassicXP/TitanClassicXP.lua
@@ -85,7 +85,9 @@ function TitanPanelXPButton_OnShow()
 	TitanPanelXPButton_SetIcon();
 	found = nil;
 	if not TitanPanelXPButton_ButtonAdded then
-		RequestTimePlayed();
+		if not TitanAllGetVar("Silenced") then
+		    RequestTimePlayed();
+		end
 		TitanPanelXPButton_ButtonAdded = true;
 	end
 end