using ADOFAIRenderer.Core; using HarmonyLib; namespace ADOFAIRenderer.Patch.Game; [HarmonyPatch(typeof(Persistence))] public static class PersistencePatch { [HarmonyPostfix] [HarmonyPatch("skipIntroBehavior", MethodType.Getter)] // ReSharper disable once InconsistentNaming public static void LockSkipIntroBehavior(ref SkipIntroBehavior __result) { if (RenderManager.IsActive && scrConductor.instance != null && !scrConductor.instance.hasSongStarted) { __result = SkipIntroBehavior.Off; } } }