Skip to content
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

Fixes StoredOffset not affecting StoredSprite #33212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SpaceRox1244
Copy link
Contributor

About the PR

Makes it so specifying a StoredOffset in ItemComponent actually affects a specified StoredSprite

Why / Balance

Ive been making more storage sprites for grid inv, and I noticed when I tried to make offset adjustments that if you are using a unique sprite for a grid inv icon that it is unaffected by offset.

Technical details

To be clear, the StoredOffset specifically works perfectly fine when a unique storage sprite is not specified. This is because the value calculated using the StoredOffset value is only used in the code block of an If/Else statement for when a storage sprite is not specified. I didnt think too hard about this one and just stuck the values in but its a small fix so im sure its fine.

Media

Requirements

Breaking changes

Changelog

No CL needed.

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