Files
ADOFAIRenderer/Patch/ClassPatch/scrUIControllerPatch.cs
T

16 lines
399 B
C#

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