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; } } }