How to stop player from joining any room in running game
I've created a room, with max players up to 5. After waiting for some time to fill the players with room. I start the game, but if the players are less than 5, I don't want any new player to join later. I only want the player to join the room before the game is started or after game is finished. How can I ensure that?