Replacing table.wipe with Details:Destroy()
This commit is contained in:
parent
fa0d1e1d08
commit
0cdfa2b900
40 changed files with 1205 additions and 1322 deletions
|
|
@ -583,8 +583,8 @@ function Details:CreateCurrentDpsFrame(parent, name)
|
|||
DF:SetFontOutline (labelYellowTeam_DPS, Details.realtime_dps_meter.font_shadow)
|
||||
|
||||
--wipe current data for arena
|
||||
wipe (f.PlayerTeamBuffer)
|
||||
wipe (f.YellowTeamBuffer)
|
||||
Details:Destroy (f.PlayerTeamBuffer)
|
||||
Details:Destroy (f.YellowTeamBuffer)
|
||||
|
||||
--reset damage
|
||||
f.PlayerTeamDamage = 0
|
||||
|
|
@ -902,9 +902,9 @@ function Details:CreateCurrentDpsFrame(parent, name)
|
|||
|
||||
function eventListener:ResetBuffer()
|
||||
if (f:IsShown()) then
|
||||
wipe (f.PlayerTeamBuffer)
|
||||
wipe (f.YellowTeamBuffer)
|
||||
wipe (f.GroupBuffer)
|
||||
Details:Destroy (f.PlayerTeamBuffer)
|
||||
Details:Destroy (f.YellowTeamBuffer)
|
||||
Details:Destroy (f.GroupBuffer)
|
||||
f.GroupTotalDamage = 0
|
||||
f.PlayerTeamDamage = 0
|
||||
f.YellowDamage = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue