summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 007b13fc..979c92f9 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -2655,10 +2655,10 @@ static void namelog_out( void *namelog, char *str )
if( n->slot > -1 )
{
- l = Q_snprintf( p, l2, "^3%-2d", n->slot );
+ scolor = S_COLOR_YELLOW;
+ l = Q_snprintf( p, l2, "%s%-2d", scolor, n->slot );
p += l;
l2 -= l;
- scolor = S_COLOR_YELLOW;
}
else
{