mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 14:12:55 +08:00
Further support for null judgements.
This commit is contained in:
parent
aa5afc30ef
commit
7a5708ce92
@ -1 +1 @@
|
||||
Subproject commit 825505e788c4f093b269c61b485d38d50cd68096
|
||||
Subproject commit aba135ff83feabd9ca2e8e8075b811b64a9006ad
|
@ -58,10 +58,10 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
};
|
||||
}
|
||||
|
||||
protected override TaikoJudgement CreateJudgement() => new TaikoJudgement();
|
||||
protected override TaikoJudgement CreateJudgement() => null;
|
||||
|
||||
protected override void UpdateState(ArmedState state)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -106,6 +106,9 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
/// <returns>Whether a hit was processed.</returns>
|
||||
protected bool UpdateJudgement(bool userTriggered)
|
||||
{
|
||||
if (Judgement == null)
|
||||
return false;
|
||||
|
||||
var partial = Judgement as IPartialJudgement;
|
||||
|
||||
// Never re-process non-partial hits
|
||||
|
Loading…
Reference in New Issue
Block a user