Hello!
I am following a tutorial on YouTube, using its tips to apply on my “project”.
Now, there is a list UPDATING when a new room is created by OnRoomListUpdate function. But now I have a question.
What if “Player A”, after creating the room, just leaves or close the room?
I mean that “Player A” creates a room and “Player B” can see it in his “Room List”. Then “P
layer A” push an abort button. How to close the room and update “Player B” Room List?
public void Abort()
{
PhotonNetwork.CurrentRoom.IsOpen = false;
PhotonNetwork.LeaveRoom();
SceneManager.LoadScene(1);
}
This code is not updating Room List and the “Old” room is still showing!
How can I close that room ? (only the owner is in there. Player A created It and Player A is the only person in the room). Will once closed, the room disappear from “Player B” room list?
Thanks for your help!