Server: Make sure we forceinfokey the '*team' field to 0 upon ClientConnect
to avoid having players show up in teams after map-change.
This commit is contained in:
parent
6db98c88aa
commit
3882611087
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ ClientConnect(void)
|
|||
{
|
||||
int playercount = 0;
|
||||
|
||||
forceinfokey(self, "*team", "0");
|
||||
|
||||
#ifdef BOT_INCLUDED
|
||||
if (clienttype(self) == CLIENTTYPE_BOT) {
|
||||
spawnfunc_bot();
|
||||
|
|
Loading…
Reference in a new issue