diff --git a/AquaMai.Mods/GameSystem/Assets/MovieLoader.cs b/AquaMai.Mods/GameSystem/Assets/MovieLoader.cs index f7a78243..2a393ca3 100644 --- a/AquaMai.Mods/GameSystem/Assets/MovieLoader.cs +++ b/AquaMai.Mods/GameSystem/Assets/MovieLoader.cs @@ -1,6 +1,7 @@ using System; using System.IO; using AquaMai.Config.Attributes; +using CriMana; using HarmonyLib; using MAI2.Util; using Manager; @@ -124,4 +125,15 @@ public class MovieLoader } } } + + [HarmonyPostfix] + [HarmonyPatch(typeof(Player), "SetSpeed")] + public static void SetSpeed(float speed) + { + foreach (var player in _videoPlayers) + { + if (player == null) return; + player.playbackSpeed = speed; + } + } } \ No newline at end of file