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

Container items lose their content when closed #465

Closed
VortixDev opened this issue Mar 14, 2019 · 2 comments
Closed

Container items lose their content when closed #465

VortixDev opened this issue Mar 14, 2019 · 2 comments

Comments

@VortixDev
Copy link
Member

@VortixDev VortixDev commented Mar 14, 2019

The content of a container_base derived storage entity is not saved upon closure.

@VortixDev VortixDev changed the title Container items lose their content when picked up Container items lose their content when closed Mar 15, 2019
@VortixDev

This comment has been minimized.

Copy link
Member Author

@VortixDev VortixDev commented Mar 17, 2019

Perhaps due to item instances being generated on each quick use, rather than there being a static item which is simply not in the inventory whilst the item is placed? This should mean that the ITEM:GetInventory() result is inconsistent between uses, as the item instances are different.

@VortixDev

This comment has been minimized.

Copy link
Member Author

@VortixDev VortixDev commented Mar 28, 2019

Fixed on the development branch.

@VortixDev VortixDev closed this Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.