Round of general fixes
This commit is contained in:
+5
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user