SHA256
Refactor Patches
This commit is contained in:
6 files changed
+11
-7
No files matched your search
@@ -3,11 +3,13 @@ using HarmonyLib;
|
||||
|
||||
namespace ADOFAIRenderer.Patch.Game
|
||||
{
|
||||
[HarmonyPatch(typeof(Persistence), "skipIntroBehavior", MethodType.Getter)]
|
||||
[HarmonyPatch(typeof(Persistence))]
|
||||
public static class PersistencePatch
|
||||
{
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch("skipIntroBehavior", MethodType.Getter)]
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public static void Postfix(ref SkipIntroBehavior __result)
|
||||
public static void LockSkipIntroBehavior(ref SkipIntroBehavior __result)
|
||||
{
|
||||
if (RenderManager.IsActive &&
|
||||
scrConductor.instance != null &&
|
||||
|
||||
Reference in new issue
Block a user