Skip to content

Commit

Permalink
Fixed bugs from latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Feb 9, 2023
1 parent 83a1cbb commit 93dd3e2
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 303 deletions.
4 changes: 2 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
local addonName, Details222 = ...
local version, build, date, tocversion = GetBuildInfo()

_detalhes.build_counter = 10561
_detalhes.alpha_build_counter = 10561 --if this is higher than the regular counter, use it instead
_detalhes.build_counter = 10562
_detalhes.alpha_build_counter = 10562 --if this is higher than the regular counter, use it instead
_detalhes.dont_open_news = true
_detalhes.game_version = version
_detalhes.userversion = version .. " " .. _detalhes.build_counter
Expand Down
10 changes: 6 additions & 4 deletions core/gears.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3317,10 +3317,12 @@ function Details222.Cache.DoMaintenance()
Details.latest_encounter_spell_pool_access = currentTime
end

if (currentTime > Details.boss_mods_timers.latest_boss_mods_access + delay) then
wipe(Details.boss_mods_timers.encounter_timers_bw)
wipe(Details.boss_mods_timers.encounter_timers_dbm)
Details.boss_mods_timers.latest_boss_mods_access = currentTime
if (Details.boss_mods_timers and Details.boss_mods_timers.latest_boss_mods_access) then
if (currentTime > Details.boss_mods_timers.latest_boss_mods_access + delay) then
wipe(Details.boss_mods_timers.encounter_timers_bw)
wipe(Details.boss_mods_timers.encounter_timers_dbm)
Details.boss_mods_timers.latest_boss_mods_access = currentTime
end
end

--latest_shield_spellid_cache_access
Expand Down
Loading

0 comments on commit 93dd3e2

Please sign in to comment.