mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Don't broadcast name changes for spectators.
At the request of freewill. There might be a better mechanism, though...
This commit is contained in:
parent
0d9d777086
commit
a3fe8d56b8
1 changed files with 1 additions and 1 deletions
|
@ -2395,7 +2395,7 @@ SV_ExtractFromUserinfo (client_t *cl)
|
|||
}
|
||||
|
||||
// finally, report it to all our friends
|
||||
if (*cl->name)
|
||||
if (!cl->spectator && *cl->name)
|
||||
SV_BroadcastPrintf (PRINT_HIGH, "%s changed name to %s\n",
|
||||
cl->name, newname);
|
||||
strcpy (cl->name, newname);
|
||||
|
|
Loading…
Reference in a new issue