Set spinner tick start time to allow result reverting

This commit is contained in:
iiSaLMaN 2019-10-14 00:39:20 +03:00
parent 5d2fe87339
commit 68e370ce7c

View File

@ -44,6 +44,10 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
Samples.AddAdjustment(AdjustableProperty.Volume, bonusSampleVolume); Samples.AddAdjustment(AdjustableProperty.Volume, bonusSampleVolume);
} }
public void TriggerResult(HitResult result) => ApplyResult(r => r.Type = result); public void TriggerResult(HitResult result)
{
HitObject.StartTime = Time.Current;
ApplyResult(r => r.Type = result);
}
} }
} }