Closed Kalior closed 8 years ago
Makes sure that when kicking a player and when disconnecting that the server does not remove the wrong clients.
Disconnecting now checks the SessionID if the player should be removed.
Kicking now receives an index of the player to kick (ugly, but I couldn't figure out any better way to do this).
Fix comments, otherwise it looks good.
Latest commit fixes these comments.
Makes sure that when kicking a player and when disconnecting that the server does not remove the wrong clients.
Disconnecting now checks the SessionID if the player should be removed.
Kicking now receives an index of the player to kick (ugly, but I couldn't figure out any better way to do this).