SHA256
Add Endscreen Lantern Prevention
This commit is contained in:
1 parent
702ebf3cde
commit
c45a782026
1 file changed
+11
-2
@@ -1,7 +1,16 @@
|
|||||||
namespace ADOFAIRenderer.Patch.ClassPatch
|
using HarmonyLib;
|
||||||
|
|
||||||
|
namespace ADOFAIRenderer.Patch.ClassPatch
|
||||||
{
|
{
|
||||||
|
[HarmonyPatch(typeof(scrUIController))]
|
||||||
|
// ReSharper disable once InconsistentNaming
|
||||||
public class scrUIControllerPatch
|
public class scrUIControllerPatch
|
||||||
{
|
{
|
||||||
|
[HarmonyPrefix]
|
||||||
|
[HarmonyPatch("ShowEndscreenLanterns")]
|
||||||
|
public static bool PreventEndscreenLanterns()
|
||||||
|
{
|
||||||
|
return !RenderMod.IsRendering;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user