Skip to content

Commit

Permalink
Resetting pendingLoot on addon load.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalos-Atiesh committed May 29, 2021
1 parent fb414ef commit 39a1417
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,7 @@ function CommDKP:OnInitialize(event, name) -- This is the FIRST function to run
if #CommDKP:GetTable(CommDKP_DKPHistory, true) > core.DB.defaults.DKPHistoryLimit then
CommDKP:PurgeDKPHistory() -- purges DKP History entries that exceed the "DKPHistoryLimit" option variable (oldest entries) and populates CommDKP_Archive with deleted values
end
core.DB.pendingLoot = {}
end
end

Expand Down

0 comments on commit 39a1417

Please sign in to comment.