mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-15 08:08:12 +03:00
SV_ExecuteClientMessage: Don't handle packets when client has already dropped
This commit is contained in:
parent
ebefe19023
commit
9a171db348
@ -1803,6 +1803,12 @@ void SV_ExecuteClientMessage(client_t *cl)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
g_RehldsHookchains.m_HandleNetCommand.callChain(SV_HandleClientMessage_api, apiClient, c);
|
g_RehldsHookchains.m_HandleNetCommand.callChain(SV_HandleClientMessage_api, apiClient, c);
|
||||||
|
|
||||||
|
#ifdef REHLDS_FIXES
|
||||||
|
// FIXED: Don't handle remaining packets if got dropclient above
|
||||||
|
if (!cl->connected && !cl->active && !cl->spawned)
|
||||||
|
break;
|
||||||
|
#endif // REHLDS_FIXES
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user