Don't send team overlay info to bots
This commit is contained in:
1 parent
b4a4fe98d4
commit
690c5a4dac
2 files changed
+4
-1
No files matched your search
@@ -803,7 +803,7 @@ void ClientUserinfoChanged( int clientNum ) {
|
||||
*/
|
||||
|
||||
#ifdef MISSIONPACK
|
||||
if (g_gametype.integer >= GT_TEAM) {
|
||||
if (g_gametype.integer >= GT_TEAM && !(ent->r.svFlags & SVF_BOT)) {
|
||||
client->pers.teamInfo = qtrue;
|
||||
} else {
|
||||
s = Info_ValueForKey( userinfo, "teamoverlay" );
|
||||
|
||||
Reference in new issue
Block a user