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:
parent
91d5c53643
commit
a64ffcd294
@ -115,7 +115,9 @@ namespace osu.Game.Screens.Multi.Lounge.Components
|
||||
{
|
||||
if (room == selectedRoom.Value)
|
||||
{
|
||||
joinSelected();
|
||||
if (roomManager.CanJoinRoom(room))
|
||||
joinSelected();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user