mirror of
https://github.com/ppy/osu.git
synced 2025-03-21 12:47:44 +08:00
Fix nullref in tests due to missing EditorBeatmap
dependency
This commit is contained in:
parent
2f172b66cf
commit
361153f598
@ -104,7 +104,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool hasSingleObjectSelected => editorBeatmap.SelectedHitObjects.Count == 1;
|
||||
private bool hasSingleObjectSelected => editorBeatmap == null || editorBeatmap.SelectedHitObjects.Count == 1;
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user