Improve Code Consistency Between RenderMod and RenderManager

This commit is contained in:
copecone committed 2026-05-28 14:27:02 +09:00
1 parent d4b9e4b89c
commit ddd0cc1d39
18 files changed
+225 -269

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
using ADOFAIRenderer.Component;
using HarmonyLib;
namespace ADOFAIRenderer.Patch.ClassPatch
@@ -11,7 +12,7 @@ namespace ADOFAIRenderer.Patch.ClassPatch
// ReSharper disable once InconsistentNaming
public static void PreventEndscreenLanternsPostfix(scrUIController __instance)
{
if (RenderMod.IsRendering && __instance != null)
if (RenderManager.IsActive && __instance != null)
{
__instance.HideEndscreenLanterns();
}