diff options
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index b382c28a..26367e83 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -496,6 +496,11 @@ void Cmd_Team_f( gentity_t *ent ) else team = PTE_ALIENS + ( rand( ) % 2 ); } + else + { + trap_SendServerCommand( ent-g_entities, va( "print \"Unknown team: %s\n\"", s ) ); + return; + } G_ChangeTeam( ent, team ); |