server
server copied to clipboard
Remove one of the player info's sent on login
When a player logs in they get their own player_info sent to them 3 times.
- In the welcome message
- In the player list
- In the broadcasted player list that is triggered by the login event happening
At least one of these could be removed since it's just a waste of bandwidth, and would also eliminate a redundant player update on the client side.
Probably the best thing to do would be to filter out the player from the player list sent in (2).
This is a pretty minor improvement.