SHA256
17 lines
392 B
C#
17 lines
392 B
C#
using HarmonyLib;
|
|
|
|
namespace ADOFAIRenderer.Patch.ClassPatch
|
|
{
|
|
[HarmonyPatch(typeof(scrMistakesManager))]
|
|
// ReSharper disable once InconsistentNaming
|
|
public static class scrMistakesManagerPatch
|
|
{
|
|
[HarmonyPrefix]
|
|
[HarmonyPatch("SaveCustom")]
|
|
public static bool PreventSaveCustom()
|
|
{
|
|
return !RenderMod.IsRendering;
|
|
}
|
|
}
|
|
}
|