Add Endscreen Lantern Prevention

This commit is contained in:
copecone committed 2026-05-21 14:30:40 +09:00
1 parent 702ebf3cde
commit c45a782026
2 files changed
+12 -3

No files matched your search

+1 -1
View File
@@ -11,6 +11,6 @@ namespace ADOFAIRenderer.Patch.ClassPatch
public static bool PreventPause()
{
return !RenderMod.IsRendering;
}
}
}
}
+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;
}
}
}