Add Endscreen Lantern Prevention

This commit is contained in:
copecone committed 2026-05-21 14:30:40 +09:00
1 parent 702ebf3cde
commit c45a782026
1 file changed
+11 -2
+11 -2
View File
@@ -1,7 +1,16 @@
namespace ADOFAIRenderer.Patch.ClassPatch
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;
}
}
}