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(client): use client.dropmodel on invalid point.model #1798

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

0Programmer
Copy link
Contributor

@0Programmer 0Programmer commented Sep 11, 2024

This fixes an issue where the inventory stops working after loading an invalid modal on customdrops also on logout the drops are set to nil and after that the instance statebag changes and will result in bad argument for iterator.

Prevents breaking inventory on CustomDrop() without a valid model
After `client.onLogout()` the statebag `instance` changes
@thelindat thelindat merged commit 8e96447 into overextended:main Sep 12, 2024
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