FAForever / FAForever/server

Remove one of the player info's sent on login

Offen
#901 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
proposal
Vorherrschende Sprache
Python
Sterne
72
Forks
84
Ø Merge
5 Std. 11 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.