SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
16 lines
399 B
C#
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;
|
|
}
|
|
}
|
|
} |