mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Set HasPassword correctly in the response room
This commit is contained in:
@ -127,6 +127,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
|||||||
{
|
{
|
||||||
var responseRoom = new Room();
|
var responseRoom = new Room();
|
||||||
responseRoom.CopyFrom(room);
|
responseRoom.CopyFrom(room);
|
||||||
|
responseRoom.HasPassword.Value = !string.IsNullOrEmpty(responseRoom.Password.Value);
|
||||||
responseRoom.Password.Value = null;
|
responseRoom.Password.Value = null;
|
||||||
if (!withParticipants)
|
if (!withParticipants)
|
||||||
responseRoom.RecentParticipants.Clear();
|
responseRoom.RecentParticipants.Clear();
|
||||||
|
Reference in New Issue
Block a user