1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:35:35 +08:00

Refrain from joining room if not allowed

This commit is contained in:
Salman Ahmed 2020-12-22 16:38:10 +03:00
parent 91d5c53643
commit a64ffcd294

View File

@ -115,7 +115,9 @@ namespace osu.Game.Screens.Multi.Lounge.Components
{
if (room == selectedRoom.Value)
{
joinSelected();
if (roomManager.CanJoinRoom(room))
joinSelected();
return;
}