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:
commit
8eb4261406
@ -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