SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
Improve Code Consistency Between RenderMod and RenderManager
This commit is contained in:
1 parent
d4b9e4b89c
commit
ddd0cc1d39
18 files changed
+225
-269
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user