Skip to content

Commit

Permalink
Reword comment to be better
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Aug 22, 2023
1 parent e283aa2 commit 5be5335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Game/Rulesets/Objects/Drawables/DrawableHitObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ protected sealed override void OnFree(HitObjectLifetimeEntry entry)
Entry.NestedEntries.RemoveAll(nestedEntry => nestedEntry is SyntheticHitObjectEntry);
ClearNestedHitObjects();

// Changes in state trigger defaults applied trigger state updates.
// When a new hitobject is applied, OnApply() automatically performs a state update.
// Changes to `HitObject` properties trigger default application, which triggers `State` updates.
// When a new hitobject is applied, `OnApply()` automatically performs a state update.
HitObject.DefaultsApplied -= onDefaultsApplied;

entry.RevertResult -= onRevertResult;
Expand Down

0 comments on commit 5be5335

Please sign in to comment.