using HarmonyLib; namespace ADOFAIRenderer.Patch.ClassPatch { [HarmonyPatch(typeof(scrUIController))] // ReSharper disable once InconsistentNaming public class scrUIControllerPatch { [HarmonyPostfix] [HarmonyPatch("ShowEndscreenLanterns")] public static void PreventEndscreenLanternsPostfix(scrUIController __instance) { if (RenderMod.IsRendering && __instance != null) { __instance.HideEndscreenLanterns(); } } } }