Round of general fixes

This commit is contained in:
Tercio Jose
2022-10-26 21:50:34 -03:00
parent 60397057e7
commit 4c11441c3e
17 changed files with 843 additions and 703 deletions
+5 -8
View File
@@ -4938,10 +4938,10 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
if (zoneType == "party" or zoneType == "raid") then
_is_in_instance = true
if (DetailsFramework.IsDragonflight()) then
Details:Msg("friendly reminder to enabled combat logs (/combatlog) if you're recording them (Dragonflight Beta).")
Details:Msg("and if you wanna help, you may post them on Details! discord as well.")
end
--if (DetailsFramework.IsDragonflight()) then
-- Details:Msg("friendly reminder to enabled combat logs (/combatlog) if you're recording them (Dragonflight Beta).")
-- Details:Msg("and if you wanna help, you may post them on Details! discord as well.")
--end
end
if (_detalhes.last_zone_type ~= zoneType) then
@@ -5836,10 +5836,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
saver:SetScript("OnEvent", function(...)
--save the time played on this class, run protected
pcall(function()
local className = select(2, UnitClass("player"))
if (className) then
Details.class_time_played[className] = (Details.class_time_played[className] or 0) + GetTime() - Details.GetStartupTime()
end
Details.SavePlayTimeOnClass()
end)
local currentStep = 0