From 1a9a15c474d42e0ddd1b9094852df3bbfbd02e63 Mon Sep 17 00:00:00 2001 From: Devin Bidwell Date: Sat, 29 Nov 2025 15:35:51 -0700 Subject: [PATCH] use latest version of IC10Editor dll --- csharp_mod/Marshal.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp_mod/Marshal.cs b/csharp_mod/Marshal.cs index dc80d9d..e0b54ab 100644 --- a/csharp_mod/Marshal.cs +++ b/csharp_mod/Marshal.cs @@ -26,7 +26,7 @@ public static class Marshal try { _libraryHandle = LoadLibrary(ExtractNativeLibrary(Ffi.RustLib)); - CodeFormatters.RegisterFormatter("Slang", () => new SlangFormatter(), true); + CodeFormatters.RegisterFormatter("Slang", typeof(SlangFormatter), true); return true; } catch (Exception ex)