From 32b6054f1939f52b77e0e2f0084a2c22d22557ad Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sat, 31 Oct 2009 18:24:50 +0000 Subject: * Don't send game statistics when cheats are enabled --- src/game/g_main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/game/g_main.c b/src/game/g_main.c index f112e9af..c57a15ad 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1707,6 +1707,10 @@ void G_SendGameStat( team_t team ) int i, dataLength, entryLength; gclient_t *cl; + // games with cheats enabled are not very good for balance statistics + if( g_cheats.integer ) + return; + trap_Cvar_VariableStringBuffer( "mapname", map, sizeof( map ) ); switch( team ) -- cgit