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

Decrement next_client_id when a player disconnects #69

Closed
wants to merge 1 commit into from

Conversation

Aaron1011
Copy link
Contributor

This prevents player ids from getting really large if there are a lot of
connects/disconnects.

This prevents player ids from getting really large if there are a lot of
connects/disconnects.
@fogleman
Copy link
Owner

You can't just decrement it - you don't know what order the players are disconnecting in.

@Aaron1011
Copy link
Contributor Author

@fogleman; Oh, whoops. You're right, I didn't think of that.

@Aaron1011 Aaron1011 closed this Dec 14, 2013
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.

None yet

2 participants