diff --git a/src/RelationStorage.cs b/src/RelationStorage.cs index 9deb5a6..7abf778 100644 --- a/src/RelationStorage.cs +++ b/src/RelationStorage.cs @@ -59,6 +59,7 @@ namespace MoonTools.ECS if (count >= relationDatas.Length) { + Array.Resize(ref relations, relations.Length * 2); Array.Resize(ref relationDatas, relationDatas.Length * 2); }