mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:12:57 +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)
|
if (room == selectedRoom.Value)
|
||||||
{
|
{
|
||||||
|
if (roomManager.CanJoinRoom(room))
|
||||||
joinSelected();
|
joinSelected();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user