1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 04:02:59 +08:00

Minor refactors

This commit is contained in:
Dean Herbert 2017-09-12 17:36:46 +09:00
parent b01233eddc
commit 20dae5ee11
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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; }