fix relation storage resize
parent
47758f20d1
commit
5d3989a620
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue