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

fix opened cans #39372

Merged
merged 1 commit into from
Apr 8, 2020
Merged

fix opened cans #39372

merged 1 commit into from
Apr 8, 2020

Conversation

KorGgenT
Copy link
Member

@KorGgenT KorGgenT commented Apr 8, 2020

Summary

SUMMARY: Bugfixes "Sealed cans no longer open upon load"

Purpose of change

Fixes #39355

Describe the solution

the item::deserialize function checked if the contents were empty and converted to unseals_into, before it loaded contents. i copy pasted this little bit to after loading its contents.

Testing

spawned in a canned sardine. observe that it is preserved. save, quit, load.

@KorGgenT KorGgenT added the <Bugfix> This is a fix for a bug (or closes open issue) label Apr 8, 2020
@ZhilkinSerg ZhilkinSerg merged commit 9b63057 into CleverRaven:master Apr 8, 2020
@KorGgenT KorGgenT deleted the fix-opened-cans branch August 13, 2020 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loading a save opens all canned items
2 participants