[quake3-commits] [ioquake/ioq3] a6e667: Fix duplicate team join center print for bots and ...
Zack Middleton
noreply at github.com
Sat Nov 16 02:47:44 EST 2019
Branch: refs/heads/master
Home: https://github.com/ioquake/ioq3
Commit: a6e66700e144e86e0b63aff8b7b67bbec3990860
https://github.com/ioquake/ioq3/commit/a6e66700e144e86e0b63aff8b7b67bbec3990860
Author: Zack Middleton <zack at cloemail.com>
Date: 2019-11-16 (Sat, 16 Nov 2019)
Changed paths:
M code/game/g_cmds.c
Log Message:
-----------
Fix duplicate team join center print for bots and g_teamAutoJoin
My 2017 commit f7c3276 ("Fix g_teamAutoJoin and g_teamForceBalance")
caused BroadcastTeamChange() to be run an extra time when bots connect.
This caused a duplicate center print message to be sent to all clients.
g_teamAutoJoin 1 sent an extra center print when any player or bot
connects. Though that is the original behavior from Team Arena.
Team set during connection no longer sends broadcast as it will be
sent later in ClientConnect().
Reported by Pascal Brochart (pbrochart) as causing clients to be
kicked due to server command overflow if many bots join at the
same time.
More information about the quake3-commits
mailing list