mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Throw NotSupportedException instead
This commit is contained in:
@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
||||
public double EndTime
|
||||
{
|
||||
get => StartTime + this.SpanCount() * Distance / Velocity;
|
||||
set => throw new System.NotImplementedException();
|
||||
set => throw new System.NotSupportedException($"Adjust via {nameof(RepeatCount)} instead"); // can be implemented if/when needed.
|
||||
}
|
||||
|
||||
public double Duration => EndTime - StartTime;
|
||||
|
Reference in New Issue
Block a user