1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 16:32:54 +08:00

Fix bad ctor implementation

This commit is contained in:
smoogipoo 2019-12-09 18:01:13 +09:00
parent bfbb9aa18e
commit a1798fd38d

View File

@ -41,6 +41,9 @@ namespace osu.Game.Rulesets.Objects
/// <param name="type">The initial type.</param> /// <param name="type">The initial type.</param>
public PathControlPoint(Vector2 position, PathType? type = null) public PathControlPoint(Vector2 position, PathType? type = null)
{ {
Position.Value = position;
Type.Value = type;
Position.ValueChanged += _ => Changed?.Invoke(); Position.ValueChanged += _ => Changed?.Invoke();
Type.ValueChanged += _ => Changed?.Invoke(); Type.ValueChanged += _ => Changed?.Invoke();
} }