diff --git a/Svelto.Common b/Svelto.Common index 4f7d4d9..5b756d5 160000 --- a/Svelto.Common +++ b/Svelto.Common @@ -1 +1 @@ -Subproject commit 4f7d4d96407f3ce390a23b930ba235a2447729ec +Subproject commit 5b756d57920c83a8e31dad9eedee8b629c6cb245 diff --git a/Svelto.ECS/EnginesRoot.Engines.cs b/Svelto.ECS/EnginesRoot.Engines.cs index b68e9c4..0cca849 100644 --- a/Svelto.ECS/EnginesRoot.Engines.cs +++ b/Svelto.ECS/EnginesRoot.Engines.cs @@ -29,8 +29,8 @@ namespace Svelto.ECS /// /// Engines root contextualize your engines and entities. You don't need to limit yourself to one EngineRoot /// as multiple engines root could promote separation of scopes. The EntitySubmissionScheduler checks - /// periodically if new entity must be submited to the database and the engines. It's an external - /// dependencies to be indipendent by the running platform as the user can define it. + /// periodically if new entity must be submitted to the database and the engines. It's an external + /// dependencies to be independent by the running platform as the user can define it. /// The EntitySubmissionScheduler cannot hold an EnginesRoot reference, that's why /// it must receive a weak reference of the EnginesRoot callback. /// @@ -39,10 +39,8 @@ namespace Svelto.ECS _entityEngines = new Dictionary>(); _otherEngines = new FasterList(); - _groupEntityDB = new Dictionary> - { - [ExclusiveGroup.StandardEntitiesGroup] = new Dictionary() - }; + _groupEntityDB = new Dictionary>(); + _groupEntityDB[ExclusiveGroup.StandardEntitiesGroup] = new Dictionary(); _groupedGroups = new Dictionary>(); _groupedEntityToAdd = new DoubleBufferedEntityViews>>();