Skip to content

Fixed a bug where equipped items occupying more than one slot would decay faster - #1836

Merged
Josh-Larson merged 1 commit into
ProjectSWGCore:masterfrom
madsboddum:item-decay-slots
Sep 29, 2026
Merged

Josh-Larson merged 1 commit into
ProjectSWGCore:masterfrom
madsboddum:item-decay-slots

Conversation

@madsboddum

Copy link
Copy Markdown
Member

Basically, slottedObjects may contain the same item multiple times. Applying distinct ensures the same object ID only occurs once.
The same problem does not exist for inventory items, so no distinct necessary there.

@Josh-Larson
Josh-Larson merged commit 1eaf9f6 into ProjectSWGCore:master Sep 29, 2026
2 checks passed
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.

2 participants