core/PlayerManager.cpp
changeset 769 d7dc79f1f93e
parent 729 110c14c99545
child 780 570fa34723bf
     1.1 --- a/core/PlayerManager.cpp	Sat May 12 23:45:36 2007 +0000
     1.2 +++ b/core/PlayerManager.cpp	Sat May 12 23:45:52 2007 +0000
     1.3 @@ -17,6 +17,7 @@
     1.4  #include "ShareSys.h"
     1.5  #include "AdminCache.h"
     1.6  #include "ConCmdManager.h"
     1.7 +#include "MenuStyle_Valve.h"
     1.8  
     1.9  PlayerManager g_Players;
    1.10  
    1.11 @@ -398,6 +399,12 @@
    1.12  		RETURN_META(MRES_SUPERCEDE);
    1.13  	}
    1.14  
    1.15 +	bool result = g_ValveMenuStyle.OnClientCommand(client);
    1.16 +	if (result)
    1.17 +	{
    1.18 +		res = Pl_Handled;
    1.19 +	}
    1.20 +
    1.21  	res = g_ConCmds.DispatchClientCommand(client, (ResultType)res);
    1.22  
    1.23  	if (res >= Pl_Handled)