I understand that the title of this question is not very specific, but that is exactly what this problem is. I have the following code:
void OnClientDisconnect(in