fix relation storage resize

filter_relations
cosmonaut 2022-06-22 17:05:33 -07:00
parent 47758f20d1
commit 5d3989a620
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}