mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 11:12:54 +08:00
Set HasPassword correctly in the response room
This commit is contained in:
parent
2515785f93
commit
26d0eea485
@ -127,6 +127,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
{
|
||||
var responseRoom = new Room();
|
||||
responseRoom.CopyFrom(room);
|
||||
responseRoom.HasPassword.Value = !string.IsNullOrEmpty(responseRoom.Password.Value);
|
||||
responseRoom.Password.Value = null;
|
||||
if (!withParticipants)
|
||||
responseRoom.RecentParticipants.Clear();
|
||||
|
Loading…
Reference in New Issue
Block a user