using HarmonyLib; namespace ADOFAIRenderer.Patch.ClassPatch { [HarmonyPatch(typeof(scrUIController))] // ReSharper disable once InconsistentNaming public class scrUIControllerPatch { [HarmonyPrefix] [HarmonyPatch("ShowEndscreenLanterns")] public static bool PreventEndscreenLanterns() { return !RenderMod.IsRendering; } } }