Fixed an error while trying to move the window by clicking and holding on a window line
This commit is contained in:
@@ -79,7 +79,7 @@ function Details:BossModsLink()
|
||||
local cur_combat = Details:GetCurrentCombat()
|
||||
local time = cur_combat:GetCombatTime()
|
||||
if (time > 5) then
|
||||
tinsert (cur_combat.PhaseData, {phase, time})
|
||||
tinsert(cur_combat.PhaseData, {phase, time})
|
||||
end
|
||||
|
||||
Details:SendEvent("COMBAT_ENCOUNTER_PHASE_CHANGED", nil, phase)
|
||||
@@ -114,7 +114,7 @@ function Details:CreateCallbackListeners()
|
||||
if (current_encounter) then
|
||||
if (_G.DBM) then
|
||||
local db = Details.boss_mods_timers
|
||||
for spell, timer_table in pairs (current_table_dbm) do
|
||||
for spell, timer_table in pairs(current_table_dbm) do
|
||||
if (not db.encounter_timers_dbm [timer_table[1]]) then
|
||||
timer_table.id = current_encounter
|
||||
db.encounter_timers_dbm [timer_table[1]] = timer_table
|
||||
@@ -123,7 +123,7 @@ function Details:CreateCallbackListeners()
|
||||
end
|
||||
if (BigWigs) then
|
||||
local db = Details.boss_mods_timers
|
||||
for timer_id, timer_table in pairs (current_table_bigwigs) do
|
||||
for timer_id, timer_table in pairs(current_table_bigwigs) do
|
||||
if (not db.encounter_timers_bw [timer_id]) then
|
||||
timer_table.id = current_encounter
|
||||
db.encounter_timers_bw [timer_id] = timer_table
|
||||
|
||||
Reference in New Issue
Block a user