SHA256
21 lines
603 B
C#
21 lines
603 B
C#
using ADOFAIRenderer.Core;
|
|
using HarmonyLib;
|
|
|
|
namespace ADOFAIRenderer.Patch.Game
|
|
{
|
|
[HarmonyPatch(typeof(scrUIController))]
|
|
// ReSharper disable once InconsistentNaming
|
|
public class scrUIControllerPatch
|
|
{
|
|
[HarmonyPostfix]
|
|
[HarmonyPatch("ShowEndscreenLanterns")]
|
|
// ReSharper disable once InconsistentNaming
|
|
public static void PreventEndscreenLanternsPostfix(scrUIController __instance)
|
|
{
|
|
if (RenderManager.IsActive && __instance != null)
|
|
{
|
|
__instance.HideEndscreenLanterns();
|
|
}
|
|
}
|
|
}
|
|
} |