diff --git a/Patch/ClassPatch/scrControllerPatch.cs b/Patch/ClassPatch/scrControllerPatch.cs index 60c5d15..bdac1db 100644 --- a/Patch/ClassPatch/scrControllerPatch.cs +++ b/Patch/ClassPatch/scrControllerPatch.cs @@ -11,6 +11,6 @@ namespace ADOFAIRenderer.Patch.ClassPatch public static bool PreventPause() { return !RenderMod.IsRendering; - } + } } } \ No newline at end of file diff --git a/Patch/ClassPatch/scrUIControllerPatch.cs b/Patch/ClassPatch/scrUIControllerPatch.cs index c97040d..7d0b490 100644 --- a/Patch/ClassPatch/scrUIControllerPatch.cs +++ b/Patch/ClassPatch/scrUIControllerPatch.cs @@ -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; + } } } \ No newline at end of file