Don't build score info for bots, they don't parse it

This commit is contained in:
Zack Middleton 2017-06-07 19:54:34 -05:00
parent b511b8f2f6
commit 91acf8a681

View file

@ -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;