Skip to content

Commit

Permalink
Merge branch 'master' into polygon-tool
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Aug 19, 2024
2 parents f34132f + 95d0633 commit 7248c04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Osu/Edit/OsuHitObjectComposer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected override IEnumerable<TernaryButton> CreateTernaryButtons()
protected readonly OsuGridToolboxGroup OsuGridToolboxGroup = new OsuGridToolboxGroup();

[Cached]
protected readonly FreehandSliderToolboxGroup FreehandlSliderToolboxGroup = new FreehandSliderToolboxGroup();
protected readonly FreehandSliderToolboxGroup FreehandSliderToolboxGroup = new FreehandSliderToolboxGroup();

[BackgroundDependencyLoader]
private void load()
Expand Down Expand Up @@ -111,7 +111,7 @@ private void load()
ScaleHandler = (OsuSelectionScaleHandler)BlueprintContainer.SelectionHandler.ScaleHandler,
},
new GenerateToolboxGroup(),
FreehandlSliderToolboxGroup
FreehandSliderToolboxGroup
}
);
}
Expand Down
5 changes: 5 additions & 0 deletions osu.Game/Tests/Visual/Multiplayer/TestMultiplayerClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ public void ChangeUserBeatmapAvailability(int userId, BeatmapAvailability newBea

protected override async Task<MultiplayerRoom> JoinRoom(long roomId, string? password = null)
{
if (RoomJoined || ServerAPIRoom != null)
throw new InvalidOperationException("Already joined a room");

roomId = clone(roomId);
password = clone(password);

Expand Down Expand Up @@ -260,6 +263,8 @@ protected override void OnRoomJoined()
protected override Task LeaveRoomInternal()
{
RoomJoined = false;
ServerAPIRoom = null;
ServerRoom = null;
return Task.CompletedTask;
}

Expand Down

0 comments on commit 7248c04

Please sign in to comment.