diff options
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 3a98c468..b24b8526 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -499,8 +499,10 @@ void Cmd_Team_f( gentity_t *ent ) G_ChangeTeam( ent, team ); - if( team == PTE_ALIENS || team == PTE_HUMANS ) - trap_SendServerCommand( -1, va( "print \"%s joined the %s.\n\"", ent->client->pers.netname, s ) ); + if( team == PTE_ALIENS ) + trap_SendServerCommand( -1, va( "print \"%s joined the aliens.\n\"", ent->client->pers.netname ) ); + else if( team == PTE_HUMANS ) + trap_SendServerCommand( -1, va( "print \"%s joined the humans.\n\"", ent->client->pers.netname ) ); } |