Skip to content

Commit

Permalink
Fixed a bug where all items would be recent items randomly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan committed Sep 2, 2024
1 parent 8c41897 commit 5c91bd3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ function items:ClearItemCache(ctx)
self.previousItemGUID = {}
self:ResetSlotInfo()
search:Wipe()
self._firstLoad = {
[const.BAG_KIND.BACKPACK] = true,
[const.BAG_KIND.BANK] = true,
}
ctx:Set('wipe', true)
debug:Log("Items", "Item Cache Cleared")
end
Expand Down

0 comments on commit 5c91bd3

Please sign in to comment.