Skip to content

Commit

Permalink
Making sure all bid and timer positions are reset when /dkp reset is …
Browse files Browse the repository at this point in the history
…performed. Bug #118
  • Loading branch information
Vapok committed Aug 2, 2020
1 parent 523c408 commit 7a4128f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ function CommDKP_round(number, decimals)
end

function CommDKP:ResetPosition()
core.DB.bidpos = nil;
core.DB.timerpos = nil;
CommDKP.UIConfig:ClearAllPoints();
CommDKP.UIConfig:SetPoint("CENTER", UIParent, "CENTER", -250, 100);
CommDKP.UIConfig:SetSize(550, 590);
Expand Down

0 comments on commit 7a4128f

Please sign in to comment.