1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 04:53:21 +08:00

Fix inability to join a multiplayer room which has no password

This commit is contained in:
Dean Herbert 2021-07-24 19:21:16 +09:00
parent 47c9c9ab60
commit 48120faeb2

View File

@ -22,7 +22,8 @@ namespace osu.Game.Online.Rooms
{ {
var req = base.CreateWebRequest(); var req = base.CreateWebRequest();
req.Method = HttpMethod.Put; req.Method = HttpMethod.Put;
req.AddParameter(@"password", Password, RequestParameterType.Query); if (!string.IsNullOrEmpty(Password))
req.AddParameter(@"password", Password, RequestParameterType.Query);
return req; return req;
} }