mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:02:58 +08:00
Update inline comments
This commit is contained in:
parent
c82e997644
commit
e283aa2843
@ -330,7 +330,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
ClearNestedHitObjects();
|
ClearNestedHitObjects();
|
||||||
|
|
||||||
// Changes in state trigger defaults applied trigger state updates.
|
// Changes in state trigger defaults applied trigger state updates.
|
||||||
// When a new hitobject is applied, OnApply() automatically performs a state update anyway.
|
// When a new hitobject is applied, OnApply() automatically performs a state update.
|
||||||
HitObject.DefaultsApplied -= onDefaultsApplied;
|
HitObject.DefaultsApplied -= onDefaultsApplied;
|
||||||
|
|
||||||
entry.RevertResult -= onRevertResult;
|
entry.RevertResult -= onRevertResult;
|
||||||
@ -391,6 +391,8 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
Apply(Entry);
|
Apply(Entry);
|
||||||
|
|
||||||
// Applied defaults indicate a change in hit object state.
|
// Applied defaults indicate a change in hit object state.
|
||||||
|
// We need to update the judgement result time to the new end time
|
||||||
|
// and update state to ensure the hit object fades out at the correct time.
|
||||||
if (Result is not null)
|
if (Result is not null)
|
||||||
{
|
{
|
||||||
Result.TimeOffset = 0;
|
Result.TimeOffset = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user