never mind the comparison is fine
parent
8f620c7a20
commit
91d771249e
|
@ -182,7 +182,6 @@ namespace MoonTools.ECS
|
|||
{
|
||||
ReadOnlySpan<byte> relationBytes = MemoryMarshal.Cast<Relation, byte>(relations);
|
||||
|
||||
// FIXME: incorrect comparison
|
||||
if (relationBytes.Length > state.Relations.Length)
|
||||
{
|
||||
Array.Resize(ref state.Relations, relationBytes.Length);
|
||||
|
|
Loading…
Reference in New Issue