mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Use existing method to update combo state of selection
This commit is contained in:
@ -285,7 +285,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
var comboInfo = h as IHasComboInformation;
|
||||
|
||||
if (comboInfo == null)
|
||||
throw new InvalidOperationException($"Tried to change combo state of a {h.GetType()}, which doesn't implement {nameof(IHasComboInformation)}");
|
||||
continue;
|
||||
|
||||
comboInfo.NewCombo = state;
|
||||
EditorBeatmap?.UpdateHitObject(h);
|
||||
|
Reference in New Issue
Block a user