Fix unknown command message on dumpprops and client

This commit is contained in:
mittorn 2018-08-03 18:33:39 +00:00
parent 1517a774b7
commit 9e0570c0e2

View File

@ -805,6 +805,7 @@ bool GGM_ClientCommand( CBasePlayer *pPlayer, const char *pcmd )
{ {
if ( g_flWeaponCheat != 0.0 ) if ( g_flWeaponCheat != 0.0 )
DumpProps(); DumpProps();
return true;
} }
else if( FStrEq(pcmd, "client") ) else if( FStrEq(pcmd, "client") )
{ {
@ -812,6 +813,7 @@ bool GGM_ClientCommand( CBasePlayer *pPlayer, const char *pcmd )
strncpy(args, CMD_ARGS(),254); strncpy(args, CMD_ARGS(),254);
strcat(args,"\n"); strcat(args,"\n");
CLIENT_COMMAND( pPlayer->edict(), args ); CLIENT_COMMAND( pPlayer->edict(), args );
return true;
} }
else if( COOP_ClientCommand( pPlayer->edict() ) ) else if( COOP_ClientCommand( pPlayer->edict() ) )
return true; return true;