[Bots]: 🤦‍♂️ I'm blind (#933)

This commit is contained in:
Edo 2023-04-16 12:30:12 +02:00 committed by GitHub
parent 23bfc3e89a
commit e05fa7f6a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -398,7 +398,7 @@ namespace Components
void Bots::SV_DirectConnect_Full_Check()
{
if (!sv_replaceBots->current.enabled && !IsFull())
if (!sv_replaceBots->current.enabled || !IsFull())
{
return;
}
@ -409,6 +409,7 @@ namespace Components
if (cl->bIsTestClient)
{
Game::SV_DropClient(cl, "EXE_DISCONNECTED", false);
cl->header.state = Game::CS_FREE;
return;
}
}