Skip to content

Commit

Permalink
Fix inability to join a multiplayer room which has no password
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Jul 24, 2021
1 parent 47c9c9a commit 48120fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osu.Game/Online/Rooms/JoinRoomRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ protected override WebRequest CreateWebRequest()
{
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;
}

Expand Down

0 comments on commit 48120fa

Please sign in to comment.