Move behavior grouping onto runtime instances
This commit is contained in:
parent
a639569f72
commit
eabe0961e6
5 changed files with 13 additions and 9 deletions
|
|
@ -1395,7 +1395,7 @@ public class EquippedItem
|
|||
Behaviors = ItemManager.CreateRuntimeBehaviors(this);
|
||||
|
||||
BehaviorGroups = Behaviors
|
||||
.GroupBy(b => b.Data.Group)
|
||||
.GroupBy(b => b.Group)
|
||||
.OrderBy(g => g.Key)
|
||||
.ToDictionary(g => g.Key, g => new BehaviorGroup
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue