Master-Server-Unity icon indicating copy to clipboard operation
Master-Server-Unity copied to clipboard

Adding or removing player to or from a none static room needs more functionallity

Open Assambra opened this issue 1 year ago • 0 comments

Adding a player to a room that is not static need a check if it is the first player if yes it is the master player. Removing a player from a non static room need a check if it is the master if yes getPlayers from room use the first on from the list and make it to the master player than remove it. Also need a check if it is the master and is the last player in the room it needs to close the room instance -> Remove player from roomPlayerList and remove the room from the globalRoomManager and send command STOP_SERVER.

Assambra avatar Apr 13 '24 05:04 Assambra