From dfd6dd144e5617ffa1dcdb57d25a72bb1482ed08 Mon Sep 17 00:00:00 2001 From: meag Date: Wed, 23 May 2018 21:13:57 +0100 Subject: [PATCH] HUD: Remove failed ServeMe connections from playerlist Eugh eugh eugh eugh eugh --- hud_common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hud_common.c b/hud_common.c index 4ab585449..c6c94b10d 100644 --- a/hud_common.c +++ b/hud_common.c @@ -2428,6 +2428,10 @@ static void HUD_Sort_Scoreboard(int flags) for (i=0; i < MAX_CLIENTS; i++) { if (cl.players[i].name[0] && !cl.players[i].spectator) { + if (cl.players[i].frags == 0 && cl.players[i].team[0] == '\0' && !strcmp(cl.players[i].name, "[ServeMe]")) { + continue; + } + // Find players team for (team = 0; team < n_teams; team++) { if (cl.teamplay && !strcmp(cl.players[i].team, sorted_teams[team].name) && sorted_teams[team].name[0]) {