mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-14 15:48:04 +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;
|
||||
|
||||
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