Browse Source

Fix unknown command message on dumpprops and client

gravgun
mittorn 6 years ago
parent
commit
9e0570c0e2
  1. 2
      dlls/gravgunmod.cpp

2
dlls/gravgunmod.cpp

@ -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;

Loading…
Cancel
Save