From a2d29a6591ba2e36495e31c58061aec1ae5d1e81 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Sun, 29 Dec 2019 01:48:38 -0800 Subject: [PATCH] slight component manager optimization --- encompass-cs/ComponentUpdateManager.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/encompass-cs/ComponentUpdateManager.cs b/encompass-cs/ComponentUpdateManager.cs index 26b08ed..dc6c30d 100644 --- a/encompass-cs/ComponentUpdateManager.cs +++ b/encompass-cs/ComponentUpdateManager.cs @@ -30,7 +30,6 @@ namespace Encompass { existingComponentStore.ClearAll(); immediateComponentStore.ClearAll(); - UpToDateComponentStore.ClearAll(); } internal void SetStartingComponentStore(ComponentStore componentStore) @@ -41,7 +40,6 @@ namespace Encompass internal void AddExistingComponent(Entity entity, TComponent component) where TComponent : struct, IComponent { existingComponentStore.Set(entity.ID, component); - UpToDateComponentStore.Set(entity.ID, component); } internal bool AddImmediateComponent(Entity entity, TComponent component, int priority) where TComponent : struct, IComponent