mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 10:22:56 +08:00
Add missing check for curve menu items not yet being created
This commit is contained in:
parent
f7339e3e8b
commit
e151454c4e
@ -534,6 +534,9 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
|
||||
|
||||
private void updateCurveMenuItems()
|
||||
{
|
||||
if (curveTypeItems == null)
|
||||
return;
|
||||
|
||||
foreach (var item in curveTypeItems.OfType<CurveTypeMenuItem>())
|
||||
{
|
||||
int totalCount = Pieces.Count(p => p.IsSelected.Value);
|
||||
|
Loading…
Reference in New Issue
Block a user