1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00

make EndPlacement virtual

This commit is contained in:
cdwcgt 2022-10-19 00:16:24 +09:00
parent 3b1769c54e
commit d6ed561280
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ namespace osu.Game.Rulesets.Taiko.Edit.Blueprints
Size = new Vector2(TaikoHitObject.DEFAULT_SIZE * TaikoPlayfield.DEFAULT_HEIGHT)
};
}
protected override void LoadComplete()
{
base.LoadComplete();

View File

@ -359,7 +359,7 @@ namespace osu.Game.Rulesets.Edit
EditorBeatmap.PlacementObject.Value = hitObject;
}
public void EndPlacement(HitObject hitObject, bool commit)
public virtual void EndPlacement(HitObject hitObject, bool commit)
{
EditorBeatmap.PlacementObject.Value = null;