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 rollback for pre-predicted entities #788

Merged
merged 3 commits into from
Jan 9, 2025

Conversation

cBournhonesque
Copy link
Owner

@cBournhonesque cBournhonesque commented Jan 9, 2025

Rollback was disabled for pre-predicted entities like in AvianPhysics.
It wasn't noticed because I didn't have a unit test for it + the error message used the debug! log.

Add unit tests to make sure that PredictionHistory is added for PrePredicted and authority-change cases, and make sure that both cases are handled correctly.

@cBournhonesque cBournhonesque changed the title Cb/avoid error log preprediction Fix rollback for pre-predicted entities Jan 9, 2025
@cBournhonesque cBournhonesque merged commit eb07354 into main Jan 9, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant