Force hit sample to play when Classic mod is enabled

This commit is contained in:
Amber
2021-04-02 02:54:35 -05:00
parent 133c529b2d
commit 5063cd957f
3 changed files with 11 additions and 1 deletions

View File

@ -26,6 +26,11 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
/// </summary>
public override bool DisplayResult => false;
/// <summary>
/// Whether the hit sample should always be played, regardless of whether the tail was actually hit.
/// </summary>
public bool AlwaysPlaySample { get; set; }
public bool Tracking { get; set; }
private SkinnableDrawable circlePiece;
@ -44,6 +49,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
[BackgroundDependencyLoader]
private void load()
{
AlwaysPlaySample = false;
Origin = Anchor.Centre;
Size = new Vector2(OsuHitObject.OBJECT_RADIUS * 2);