Skip to content

Commit

Permalink
Wipe cache on profile switch (Fixes #39)
Browse files Browse the repository at this point in the history
  • Loading branch information
raethkcj committed Jul 12, 2021
1 parent d7abb3b commit 740eb05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RatingBuster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,7 @@ PLAYER_LOGIN - Most information about the game world should now be available to
-- OnInitialize(name) called at ADDON_LOADED
function RatingBuster:RefreshConfig()
profileDB = self.db.profile
wipe(cache)
end

function RatingBuster:OnInitialize()
Expand Down

0 comments on commit 740eb05

Please sign in to comment.