From 8a676b3e4bc1374a99344fc5ad8840aff73f07ba Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Thu, 5 Dec 2019 17:07:54 -0800 Subject: [PATCH] hashsets cant set capacity lol --- encompass-cs/EntityManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encompass-cs/EntityManager.cs b/encompass-cs/EntityManager.cs index 2d33f31..0d89fa3 100644 --- a/encompass-cs/EntityManager.cs +++ b/encompass-cs/EntityManager.cs @@ -9,7 +9,7 @@ namespace Encompass { private readonly Dictionary IDToEntity = new Dictionary(1024); - private readonly HashSet entitiesMarkedForDestroy = new HashSet(256); + private readonly HashSet entitiesMarkedForDestroy = new HashSet(); private readonly ComponentManager componentManager;