Skip to content

Fixed icons when opening bags in non-contiguous order#37

Open
jmaxor wants to merge 1 commit intoCartas:masterfrom
jmaxor:master
Open

Fixed icons when opening bags in non-contiguous order#37
jmaxor wants to merge 1 commit intoCartas:masterfrom
jmaxor:master

Conversation

@jmaxor
Copy link

@jmaxor jmaxor commented Apr 5, 2025

Firstly, thanks for the addon!

This is a fix for a bug where the coin icon wouldn't always show correctly if you have empty bag slots to the right of bags that were open. Based on the comments it looks like this specific oddity with ContainerFrame indices was known about, but the C_Container.GetContainerNumSlots call got left out of the fix. This change simply moves getting the bagNumber up so that it can be used for this call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant