mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 22:22:54 +08:00
Fix inability to join a multiplayer room which has no password
This commit is contained in:
parent
47c9c9ab60
commit
48120faeb2
@ -22,7 +22,8 @@ namespace osu.Game.Online.Rooms
|
||||
{
|
||||
var req = base.CreateWebRequest();
|
||||
req.Method = HttpMethod.Put;
|
||||
req.AddParameter(@"password", Password, RequestParameterType.Query);
|
||||
if (!string.IsNullOrEmpty(Password))
|
||||
req.AddParameter(@"password", Password, RequestParameterType.Query);
|
||||
return req;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user