This commit is contained in:
speedvoltage 2025-04-04 00:14:53 +02:00 committed by GitHub
commit 5bd7780b89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2766,6 +2766,7 @@ void CServerGameClients::ClientDisconnect( edict_t *pEdict )
CBasePlayer *player = ( CBasePlayer * )CBaseEntity::Instance( pEdict );
if ( player )
{
player->ForceDropOfCarriedPhysObjects( NULL );
if ( !g_fGameOver )
{
player->SetMaxSpeed( 0.0f );