mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Fix bad ctor implementation
This commit is contained in:
parent
bfbb9aa18e
commit
a1798fd38d
@ -41,6 +41,9 @@ namespace osu.Game.Rulesets.Objects
|
||||
/// <param name="type">The initial type.</param>
|
||||
public PathControlPoint(Vector2 position, PathType? type = null)
|
||||
{
|
||||
Position.Value = position;
|
||||
Type.Value = type;
|
||||
|
||||
Position.ValueChanged += _ => Changed?.Invoke();
|
||||
Type.ValueChanged += _ => Changed?.Invoke();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user