From 61364506179331e05111c1cdd0f97e9757c59638 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Mon, 20 Nov 2023 11:13:41 -0800 Subject: [PATCH] fix not compiling in release mode --- src/World.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/World.cs b/src/World.cs index f6a2ee0..3ede9ef 100644 --- a/src/World.cs +++ b/src/World.cs @@ -458,6 +458,7 @@ namespace MoonTools.ECS public unsafe Type Current => World.IdToType[Types[ComponentIndex]]; } + #endif protected virtual void Dispose(bool disposing) { @@ -496,6 +497,5 @@ namespace MoonTools.ECS Dispose(disposing: true); GC.SuppressFinalize(this); } -#endif } }