SHA256
19 lines
528 B
C#
19 lines
528 B
C#
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();
|
|
}
|
|
}
|
|
}
|
|
} |