mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
Make cgame's tcmd use trap_SendClientCommand for "gc"
gc command was forwarded to server after if wasn't recognized locally, but let's just send straight to server. (trap_SendConsoleCommand should of had a \n at end, but using trap_SendClientCommand makes more sense.)
This commit is contained in:
parent
c79e0dfc25
commit
99317a9e9a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ void CG_TargetCommand_f( void ) {
|
|||
}
|
||||
|
||||
trap_Argv( 1, test, 4 );
|
||||
trap_SendConsoleCommand( va( "gc %i %i", targetNum, atoi( test ) ) );
|
||||
trap_SendClientCommand( va( "gc %i %i", targetNum, atoi( test ) ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue