From 5a32c9dadc46307370d1d96592e045ea8613a9b2 Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:59:01 +0800 Subject: [PATCH] fix --- src/EntityGraph.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EntityGraph.cs b/src/EntityGraph.cs index f36c0a7..47c0bd9 100644 --- a/src/EntityGraph.cs +++ b/src/EntityGraph.cs @@ -227,6 +227,7 @@ namespace DCFApixels.DragonECS { _graph = arc; _graph.World.AddListener(this); + IntHash.InitFor(_graph.World.Capacity); } public void Destroy() {