2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-01 01:25:38 +03:00

Added drop client if it is not answered on consistency request

This commit is contained in:
WPMGPRoSToTeMa 2016-02-02 05:05:37 +03:00
parent b25b18dfb4
commit ad7a7d6e8a

View File

@ -1684,6 +1684,14 @@ void SV_Spawn_f(void)
if (g_pcls.demoplayback || Q_atoi(Cmd_Argv(1)) == g_psvs.spawncount)
{
#ifdef REHLDS_FIXES
if (host_client->has_force_unmodified)
{
SV_DropClient(host_client, false, "You didn't send consistency response");
return;
}
#endif // REHLDS_FIXES
SZ_Write(&msg, g_psv.signon.data, g_psv.signon.cursize);
SV_WriteSpawn(&msg);