From 91acf8a681e8661a80f13e0a82255cb52c56cf79 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Wed, 7 Jun 2017 19:54:34 -0500 Subject: [PATCH] Don't build score info for bots, they don't parse it --- code/game/g_cmds.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/g_cmds.c b/code/game/g_cmds.c index df74ef06..dde25d91 100644 --- a/code/game/g_cmds.c +++ b/code/game/g_cmds.c @@ -40,6 +40,11 @@ void DeathmatchScoreboardMessage( gentity_t *ent ) { gclient_t *cl; int numSorted, scoreFlags, accuracy, perfect; + // don't send scores to bots, they don't parse it + if ( ent->r.svFlags & SVF_BOT ) { + return; + } + // send the latest information on all clients string[0] = 0; stringlength = 0;