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

Loading…
Cancel
Save