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

Registrer connected players correctly #695

Merged

Conversation

toberge
Copy link
Contributor

@toberge toberge commented Jun 4, 2024

The issue with multiple local players on one client was likely due to the connectedPlayers list not being populated with those extra players, making the server think it needed to spawn a disconnected player for them. Whoops.

Closes #688 (I think).
Needs testing to see if it resolves that exact issue.

The issue with multiple local players on one client was likely due to
the connectedPlayers list not being populated with those extra players,
making the server think it needed to spawn a disconnected player for
them. Whoops.
@toberge toberge requested a review from Fueredoriku June 4, 2024 06:54
Copy link
Contributor

@Fueredoriku Fueredoriku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, OK to merge as long as we solve the potential of negative coins with co-player in another PR

@toberge toberge merged commit 87ace5b into dev Jun 4, 2024
4 checks passed
@toberge toberge deleted the fix/multiple-local-players-on-client-are-spawned-twice branch June 4, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done 🎉
Development

Successfully merging this pull request may close these issues.

Possible bug with multiple local players on a client
2 participants