SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
Add Endscreen Lantern Prevention
This commit is contained in:
1 parent
702ebf3cde
commit
c45a782026
2 files changed
+12
-3
No files matched your search
@@ -11,6 +11,6 @@ namespace ADOFAIRenderer.Patch.ClassPatch
|
||||
public static bool PreventPause()
|
||||
{
|
||||
return !RenderMod.IsRendering;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user