mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-27 07:05:43 +03:00
Reset m_bSentNewResponse to allow new connection when the client goes through the full stage of connection (cl:connect -> sv:S2C_CONNECTION -> cl:new -> SV_New_f) Related 3a9bfb9
This commit is contained in:
parent
9508c8376b
commit
aaffe43e3e
@ -1657,6 +1657,9 @@ void EXT_FUNC SV_Spawn_f_internal(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef REHLDS_FIXES
|
||||
host_client->m_bSentNewResponse = FALSE;
|
||||
#endif
|
||||
SV_New_f();
|
||||
}
|
||||
}
|
||||
@ -2488,6 +2491,7 @@ void EXT_FUNC SV_ConnectClient_internal(void)
|
||||
host_client->fully_connected = FALSE;
|
||||
|
||||
#ifdef REHLDS_FIXES
|
||||
host_client->m_bSentNewResponse = FALSE;
|
||||
g_GameClients[host_client - g_psvs.clients]->SetSpawnedOnce(false);
|
||||
#endif // REHLDS_FIXES
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user