Quantcast

- Fix for #1297, remove the 'silenced' check around the call that generates the event needed to kick off the proper button text. Otherwise it stays at Updating until the first XP update of the session.

urnati [01-14-21 - 13:27]
- Fix for #1297, remove the 'silenced' check around the call that generates the event needed to kick off the proper button text. Otherwise it stays at Updating until the first XP update of the session.
Filename
TitanXP/TitanXP.lua
diff --git a/TitanXP/TitanXP.lua b/TitanXP/TitanXP.lua
index 8eada07..31f1805 100644
--- a/TitanXP/TitanXP.lua
+++ b/TitanXP/TitanXP.lua
@@ -86,9 +86,7 @@ function TitanPanelXPButton_OnShow()
 	TitanPanelXPButton_SetIcon();
 	found = nil;
 	if not TitanPanelXPButton_ButtonAdded then
-		if not TitanAllGetVar("Silenced") then
-			RequestTimePlayed();
-		end
+		RequestTimePlayed();
 		TitanPanelXPButton_ButtonAdded = true;
 	end
 end