Use existing method to update combo state of selection

This commit is contained in:
Dean Herbert
2020-09-25 14:19:35 +09:00
parent e009264f10
commit a6adf8334e
3 changed files with 24 additions and 31 deletions

View File

@ -66,14 +66,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
{
if (Beatmap.SelectedHitObjects.Count > 0)
{
foreach (var h in Beatmap.SelectedHitObjects)
{
if (h is IHasComboInformation c)
{
c.NewCombo = combo.NewValue;
Beatmap.UpdateHitObject(h);
}
}
SelectionHandler.SetNewCombo(combo.NewValue);
}
else if (currentPlacement != null)
{