From d1983bf168d1c0317d585130fc7a68be811bdc15 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Fri, 6 Oct 2023 12:27:11 -0700 Subject: [PATCH] fix an insanely stupid world transfer relation bug --- src/RelationStorage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }