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
@@ -724,6 +724,9 @@ static void G_AddBot( const char *name, float skill, const char *team, int delay
|
||||
}
|
||||
Info_SetValueForKey( userinfo, "characterfile", s );
|
||||
|
||||
// don't send tinfo to bots, they don't parse it
|
||||
Info_SetValueForKey( userinfo, "teamoverlay", "0" );
|
||||
|
||||
// register the userinfo
|
||||
trap_SetUserinfo( clientNum, userinfo );
|
||||
|
||||
|
||||
Reference in new issue
Block a user