8000 Fix issue with repeating shop menu icons by applenick · Pull Request #1070 · PGMDev/PGM · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix issue with repeating shop menu icons #1070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2022

Conversation

applenick
Copy link
Member

Quick fix! This PR resolves an issue where category icons in the shop menu would repeat between renderings. The source of the issue came from the non-paginated header section using the InventoryContents#add method, which does not override old slot items. The new solution forces the header items into their correct slots.

Signed-off-by: applenick applenick@users.noreply.github.com

Signed-off-by: applenick <applenick@users.noreply.github.com>
@applenick applenick requested a review from Electroid as a code owner October 8, 2022 18:45
@Electroid Electroid merged commit 23102e4 into PGMDev:dev Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0