diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index 9ea4953c..5d0f6a36 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -368,7 +368,7 @@ void teaminfo(const char *team, const char *attr) t_deaths += players[i]->deaths; t_points += players[i]->points; t_flags += players[i]->flagscore; - sprintf("%s %d", teammembers, players[i]->clientnum); + sprintf(teammembers, "%s%d ", teammembers, players[i]->clientnum); } loopv(discscores) if(discscores[i].team == t) @@ -385,6 +385,7 @@ void teaminfo(const char *team, const char *attr) t_deaths += player1->deaths; t_points += player1->points; t_flags += player1->flagscore; + sprintf(teammembers, "%s%d ", teammembers, player1->clientnum); } ATTR_INT(flags, t_flags);