Stop entering the room when a player exits

I have a game consisting of 4 people, when 3 die, the player wins, but I face a problem when a player dies and exits the room, another player enters


Comments

  • JohnTube
    JohnTube ✭✭✭✭✭

    Hi @H2020,

    Thank you for choosing Photon!

    What client SDK are you using?

    PUN?

    When the room is full, 4 players are joined, close the room.

    In PUN 2, it's PhotonNetwork.CurrentRoom.IsOpen = false.