Remove players from games when they disconnect, and kill zero player games.
When players disconnect from the game socket, the player will be departed from the game's players list. In addition, when the last player departs, the game is removed from the gamesList.
Loading
Please register or sign in to comment