server icon indicating copy to clipboard operation
server copied to clipboard

Remove one of the player info's sent on login

Open Askaholic opened this issue 3 years ago • 0 comments

When a player logs in they get their own player_info sent to them 3 times.

  1. In the welcome message
  2. In the player list
  3. 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.

Askaholic avatar Apr 18 '22 17:04 Askaholic