Create scrMistakesManagerPatch to Prevent Mistakes Saving

This commit is contained in:
copecone committed 2026-05-21 14:47:19 +09:00
1 parent c45a782026
commit 1c0f9ffa30
1 file changed
+16
@@ -0,0 +1,16 @@
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;
}
}
}