custom propertyes help

Options
so i have this code:
public void Start()
        {
            if
            {
                Hashtable expectedCustomRoomProperties = new Hashtable { { PRIVATE, "f" } };
                PhotonNetwork.JoinRandomRoom(expectedCustomRoomProperties,0);
            }
        }

        public override void OnJoinRandomFailed(short returnCode, string message)
        {
            Hashtable cp = new Hashtable { { PRIVATE, "f" } };
            RoomOptions roomOptions = new RoomOptions() { MaxPlayers = this.MaxPlayers };
            if (playerTTL >= 0)
                roomOptions.PlayerTtl = playerTTL;


            roomOptions.IsVisible = true;
            roomOptions.CustomRoomProperties = cp;


            PhotonNetwork.CreateRoom(null, roomOptions, null);
            Debug.Log(roomOptions);
        }

but when i join on both clients it creates two rooms

and when i comment out:
//Hashtable expectedCustomRoomProperties = new Hashtable { { PRIVATE, "f" } };
            PhotonNetwork.JoinRandomRoom(/*expectedCustomRoomProperties,0*/);

they join each other

Comments