I’m just trying to clean up my multiplayer code and make it more robust. One thing I noticed that I consider a bug (and I don’t know how to get around without maybe mucking things up) is that when a client disconnects from a server the server still keeps the client in its connections list.
This isn’t horrible except that when the client reconnects none of the buffered RPCs are sent again, so the client never loads the level. I can understand that on an unclean disconnect the server might keep the client in the list for a bit incase it was due to a bad connection which may pop back online. However when the client notifies the server that it is disconnecting, it should be promptly removed from the clients list.
Am I missing some call that would make this entry go away?
Thanks!