mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Update net.cpp
This commit is contained in:
parent
30788de692
commit
3cc7ea9365
@ -161,9 +161,9 @@ void NET_DisconnectClient(CBaseClient* pClient, int nIndex, const char* szReason
|
||||
}
|
||||
|
||||
v_NET_Shutdown(pClient->GetNetChan(), szReason, bBadRep, bRemoveNow); // Shutdown netchan.
|
||||
pClient->SetNetChan(nullptr); // Null netchan.
|
||||
CBaseClient_Clear(pClient); // Reset CClient instance for client.
|
||||
g_bIsPersistenceVarSet[nIndex] = false; // Reset Persistence var.
|
||||
pClient->SetNetChan(nullptr); // Null netchan.
|
||||
CBaseClient_Clear(pClient); // Reset CClient instance for client.
|
||||
g_bIsPersistenceVarSet[nIndex] = false; // Reset Persistence var.
|
||||
#endif // !CLIENT_DLL
|
||||
}
|
||||
#endif // !NETCONSOLE
|
||||
|
Loading…
x
Reference in New Issue
Block a user