From 9e0570c0e2aaf23d4c85cbe12730bedae90dcfb8 Mon Sep 17 00:00:00 2001 From: mittorn Date: Fri, 3 Aug 2018 18:33:39 +0000 Subject: [PATCH] Fix unknown command message on dumpprops and client --- dlls/gravgunmod.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/gravgunmod.cpp b/dlls/gravgunmod.cpp index 1b8fdf1d..4703e584 100644 --- a/dlls/gravgunmod.cpp +++ b/dlls/gravgunmod.cpp @@ -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 ) strncpy(args, CMD_ARGS(),254); strcat(args,"\n"); CLIENT_COMMAND( pPlayer->edict(), args ); + return true; } else if( COOP_ClientCommand( pPlayer->edict() ) ) return true;