diff --git a/src/RelationStorage.cs b/src/RelationStorage.cs index 009ffe3..ec990f8 100644 --- a/src/RelationStorage.cs +++ b/src/RelationStorage.cs @@ -229,7 +229,7 @@ namespace MoonTools.ECS public override unsafe void* Get(int relationStorageIndex) { - fixed (void* p = &relations[relationStorageIndex]) + fixed (void* p = &relationDatas[relationStorageIndex]) { return p; }