From 2b1a5d4c6e256010b233754461114fd17bc616e0 Mon Sep 17 00:00:00 2001 From: zznty <94796179+zznty@users.noreply.github.com> Date: Sun, 19 Feb 2023 19:44:00 +0700 Subject: [PATCH] fix script compiler compat with event block mods --- Torch/Patches/ScriptCompilerPatch.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Torch/Patches/ScriptCompilerPatch.cs b/Torch/Patches/ScriptCompilerPatch.cs index 6e42373..8a7b012 100644 --- a/Torch/Patches/ScriptCompilerPatch.cs +++ b/Torch/Patches/ScriptCompilerPatch.cs @@ -60,6 +60,7 @@ namespace Torch.Patches typeof(System.Security.Policy.Evidence).Assembly.Location, typeof(ProtoBuf.Meta.RuntimeTypeModel).Assembly.Location, typeof(ProtoContractAttribute).Assembly.Location, + Path.Combine(baseDir, "System.Xml.ReaderWriter.dll"), Path.Combine(baseDir, "netstandard.dll"), Path.Combine(baseDir, "System.Runtime.dll"), Path.Combine(MyFileSystem.ExePath, "Sandbox.Game.dll"),