SHA256
16 lines
389 B
C#
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;
|
|
}
|
|
}
|
|
} |