Update a list of opened room

Options

Hello,

In my UI, I generate a button list of rooms in a lobby and it works well. but I have a problem : if a room is opened when the list is displayed but is closed after, the list is not updated and the room is still displayed as opened. And when I click to join it, of course it generates a bug.

I can check if it's still opened when I click on it, but is there a way to update my list each time the status of a room is changed ?

Thanks !

Answers

  • Joss51
    Options

    Everything was working fine but there is a delay between the closing of the room and the updateroomlist. So I have added a button for leaving room on the room connection screen.