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) ClientRemoteProperty doesn't update in edge case #157

Merged
merged 3 commits into from
Sep 25, 2023

Conversation

ambergamefam
Copy link
Contributor

See: #155

This PR offers a fix for an issue where ClientRemoteProperty can initialize with the wrong value, and ignore updates to a remote property from the server that happen before a player's client loads.

This also fixes a race condition where calling ClientRemoteProperty:Observe() on KnitStart can cause value updates to be processed out of order.

@ambergamefam ambergamefam marked this pull request as ready for review September 15, 2023 18:50
@Sleitnick
Copy link
Owner

Changes are small - I'll just do them on my end! Thanks for figuring out the solution to this problem and providing a fix!

@Sleitnick Sleitnick merged commit 9327dd0 into Sleitnick:main Sep 25, 2023
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