Files
ADOFAIRenderer/Patch/ClassPatch/scrControllerPatch.cs
T
2026-05-21 11:38:31 +09:00

16 lines
389 B
C#

using HarmonyLib;
namespace ADOFAIRenderer.Patch.ClassPatch
{
[HarmonyPatch(typeof(scrController))]
// ReSharper disable once InconsistentNaming
public static class scrControllerPatch
{
[HarmonyPrefix]
[HarmonyPatch("TogglePauseGame")]
public static bool PreventPause()
{
return !RenderMod.IsRendering;
}
}
}