mirror of
https://github.com/ppy/osu
synced 2025-01-13 01:21:08 +00:00
Assign empty hit windows to HoldNoteBody
It's not a timed object, so following precedent, it should have empty hitwindows. This is not actually just aesthetics; several components check whether a hitobject has empty hitwindows to determine whether to include it on various HUD displays and results screen components where timed objects are explicitly involved.
This commit is contained in:
parent
a1a46e58fc
commit
3f29f27cd4
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
using osu.Game.Rulesets.Judgements;
|
using osu.Game.Rulesets.Judgements;
|
||||||
using osu.Game.Rulesets.Mania.Judgements;
|
using osu.Game.Rulesets.Mania.Judgements;
|
||||||
|
using osu.Game.Rulesets.Scoring;
|
||||||
|
|
||||||
namespace osu.Game.Rulesets.Mania.Objects
|
namespace osu.Game.Rulesets.Mania.Objects
|
||||||
{
|
{
|
||||||
@ -15,5 +16,6 @@ namespace osu.Game.Rulesets.Mania.Objects
|
|||||||
public class HoldNoteBody : ManiaHitObject
|
public class HoldNoteBody : ManiaHitObject
|
||||||
{
|
{
|
||||||
public override Judgement CreateJudgement() => new HoldNoteBodyJudgement();
|
public override Judgement CreateJudgement() => new HoldNoteBodyJudgement();
|
||||||
|
protected override HitWindows CreateHitWindows() => HitWindows.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user