This commit is contained in:
EvilFactory
2025-04-04 09:59:38 -03:00
parent 6da26ffa93
commit fdfc3a77f3
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<ItemGroup>
<PackageReference Include="Luatrauma.Internal.AssemblyPublicizer.MSBuild" Version="0.1.4" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.1.0" />
<PackageReference Include="Lib.Harmony" Version="2.2.2" />
<PackageReference Include="HarmonyX" Version="2.13.0" />
<PackageReference Include="Sigil" Version="5.0.0" />
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\Libraries\moonsharp\MoonSharp.Interpreter\MoonSharp.Interpreter.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\Libraries\moonsharp\MoonSharp.VsCodeDebugger\MoonSharp.VsCodeDebugger.csproj" />

View File

@@ -740,7 +740,7 @@ namespace Barotrauma
public void Clear()
{
harmony?.UnpatchAll();
harmony?.UnpatchSelf();
foreach (var (_, patch) in registeredPatches)
{