mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 04:02:59 +08:00
Minor refactors
This commit is contained in:
parent
b01233eddc
commit
20dae5ee11
@ -55,7 +55,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
|
||||
private void Fruit_OnJudgement(DrawableHitObject judgedObject, Judgement judgement)
|
||||
{
|
||||
if (judgement.Result > HitResult.Miss)
|
||||
if (judgement.IsHit)
|
||||
{
|
||||
Vector2 screenPosition = judgedObject.ScreenSpaceDrawQuad.Centre;
|
||||
Remove(judgedObject);
|
||||
|
@ -21,6 +21,7 @@ namespace osu.Game.Rulesets.Judgements
|
||||
|
||||
/// <summary>
|
||||
/// The offset at which this judgement occurred.
|
||||
/// Populated when added via <see cref="DrawableHitObject{TObject}.AddJudgement"/>.
|
||||
/// </summary>
|
||||
public double TimeOffset { get; internal set; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user