refactor: removed unnecessary underscore on behaviour collector

This commit is contained in:
2025-04-01 12:19:34 +03:00
parent 803b670433
commit 21600b856f
2 changed files with 8 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ public class BehaviourCollectorSorted<T> : BehaviourCollector<T> where T : class
protected override void OnBehaviourAdd(IBehaviour behaviour)
{
if (SortBy is not null)
_behaviours.Sort(SortBy);
behaviours.Sort(SortBy);
}
public BehaviourCollectorSorted() { }