Session data sometimes doesn't show an item on first loot
Noshei opened this issue ยท 3 comments
When an item is first acquired (as in you didn't have any of it before, or you are only showing session data and it is the first time looted in the session) the displayed session data will not be updated for that item.
I'm aware of this issue, and it is due to how I currently store data about items and what filters are selected. Currently, I don't store any data for a filtered item until that item has a count greater than 0 (unless you have selected the option to show items with 0 count). Because of this, the first time an item is looted the session tracking starts with the current count of the item (aka the amount looted that first time).
To resolve this I need to start storing 0 counts for all filtered items, but this has impacts on performance and will require some work to ensure that items with 0 count don't get displayed. So I need to refactor both the item and display handling to resolve this.