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: Racing end of race leaderboards now work #1317

Merged
merged 3 commits into from
Nov 24, 2023

Conversation

EmosewaMC
Copy link
Collaborator

Tested that with two players, both players see the others time at the end of the race and all other metrics are shown correctly.

Technically the outBitStream->Write(static_cast<uint16_t>(m_RacingPlayers.size())); should only be written once but how we do it now it is written as we load players in and this is the cheap option compared to the number of bits we are supposed to waste at the end of races

Removed an unused function and linted the file. Hide whitespace if you don't want to see those changes.

Yes i should have made this first
no this wouldnt have happened with rust
Tested that with two players, both players see the others time at the end of the race and all other metrics are shown correctly.

Technically the outBitStream->Write(static_cast<uint16_t>(m_RacingPlayers.size())); should only be written once but how we do it now it is written as we load players in and this is the cheap option compared to the number of bits we are supposed to waste at the end of races
@EmosewaMC EmosewaMC changed the title Actually fix racing stuff fix: Racing end of race leaderboards now work Nov 23, 2023
@EmosewaMC
Copy link
Collaborator Author

has the change from #1316 in here so I could properly test and check client logs.

@EmosewaMC EmosewaMC merged commit 8a15906 into main Nov 24, 2023
3 checks passed
@EmosewaMC EmosewaMC deleted the actually-fix-racing-stuff branch November 24, 2023 09:46
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.

3 participants