1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Merge pull request #13998 from peppy/fix-joining-multiplayer-game

Fix inability to join a multiplayer room which has no password
This commit is contained in:
Dean Herbert 2021-07-24 19:22:44 +09:00 committed by GitHub
commit 8eb4261406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}