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:
Marco Cawthorne 2022-03-02 09:18:38 -08:00
parent 6db98c88aa
commit 3882611087
Signed by: eukara
GPG key ID: C196CD8BA993248A

View file

@ -55,6 +55,8 @@ ClientConnect(void)
{
int playercount = 0;
forceinfokey(self, "*team", "0");
#ifdef BOT_INCLUDED
if (clienttype(self) == CLIENTTYPE_BOT) {
spawnfunc_bot();