Skip to content

Commit

Permalink
Silently ignore attempts to set slide duration
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed May 1, 2021
1 parent 8265d02 commit aa48122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Sentakki/Objects/Slide.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Slide : SentakkiLanedHitObject, IHasDuration
public double Duration
{
get => SlideInfoList.Any() ? SlideInfoList.Max(s => s.Duration) : 0;
set => throw new NotSupportedException();
set { }
}

public List<IList<HitSampleInfo>> NodeSamples = new List<IList<HitSampleInfo>>();
Expand Down

1 comment on commit aa48122

@LumpBloom7
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we will be able to set the duration of nested slide bodies directly, for now this'll do to ensure crashes don't occur.

Please sign in to comment.