summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-31 18:24:50 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:16 +0000
commit32b6054f1939f52b77e0e2f0084a2c22d22557ad (patch)
tree3f9bdcd611dec68a64591ecc51e9655b4c9f518f /src
parenteccd3e0b530e2b66e564770432c8f455444e4e95 (diff)
* Don't send game statistics when cheats are enabled
Diffstat (limited to 'src')
-rw-r--r--src/game/g_main.c4
1 files changed, 4 insertions, 0 deletions
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 )