From 534a9c4596cf6151658acfcaa38c23f34a939475 Mon Sep 17 00:00:00 2001 From: Kyle1413 Date: Mon, 1 Apr 2019 17:59:48 -0400 Subject: [PATCH] Fix for 0.13.1 --- .../Gameplay/HarmonyPatches/BlahBlahGrabTheLevelData.cs | 7 ++++--- Beat Saber Utils/Plugin.cs | 2 +- Beat Saber Utils/Properties/AssemblyInfo.cs | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Beat Saber Utils/Gameplay/HarmonyPatches/BlahBlahGrabTheLevelData.cs b/Beat Saber Utils/Gameplay/HarmonyPatches/BlahBlahGrabTheLevelData.cs index f6fb1c8..49da6e4 100644 --- a/Beat Saber Utils/Gameplay/HarmonyPatches/BlahBlahGrabTheLevelData.cs +++ b/Beat Saber Utils/Gameplay/HarmonyPatches/BlahBlahGrabTheLevelData.cs @@ -12,13 +12,14 @@ namespace BS_Utils.Gameplay.HarmonyPatches typeof(IDifficultyBeatmap), typeof(GameplayModifiers), typeof(PlayerSpecificSettings), - typeof(PracticeSettings)})] + typeof(PracticeSettings), + typeof(bool)})] [HarmonyPatch("Init", MethodType.Normal)] class BlahBlahGrabTheLevelData { - static void Prefix(StandardLevelScenesTransitionSetupDataSO __instance, IDifficultyBeatmap difficultyBeatmap, GameplayModifiers gameplayModifiers, PlayerSpecificSettings playerSpecificSettings, PracticeSettings practiceSettings) + static void Prefix(StandardLevelScenesTransitionSetupDataSO __instance, IDifficultyBeatmap difficultyBeatmap, GameplayModifiers gameplayModifiers, PlayerSpecificSettings playerSpecificSettings, PracticeSettings practiceSettings, bool useTestNoteCutSoundEffects) { - Plugin.LevelData.GameplayCoreSceneSetupData = new GameplayCoreSceneSetupData(difficultyBeatmap, gameplayModifiers, playerSpecificSettings, practiceSettings); + Plugin.LevelData.GameplayCoreSceneSetupData = new GameplayCoreSceneSetupData(difficultyBeatmap, gameplayModifiers, playerSpecificSettings, practiceSettings, useTestNoteCutSoundEffects); Plugin.LevelData.IsSet = true; __instance.didFinishEvent += __instance_didFinishEvent; diff --git a/Beat Saber Utils/Plugin.cs b/Beat Saber Utils/Plugin.cs index 38791f7..3f0d820 100644 --- a/Beat Saber Utils/Plugin.cs +++ b/Beat Saber Utils/Plugin.cs @@ -15,7 +15,7 @@ namespace BS_Utils public class Plugin : IPlugin { public string Name => "Beat Saber Utils"; - public string Version => "1.2.1"; + public string Version => "1.2.2"; internal static bool patched = false; internal static HarmonyInstance harmony; public static Gameplay.LevelData LevelData = new Gameplay.LevelData(); diff --git a/Beat Saber Utils/Properties/AssemblyInfo.cs b/Beat Saber Utils/Properties/AssemblyInfo.cs index ba9e46d..c11e204 100644 --- a/Beat Saber Utils/Properties/AssemblyInfo.cs +++ b/Beat Saber Utils/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.1.0")] -[assembly: AssemblyFileVersion("1.2.1.0")] +[assembly: AssemblyVersion("1.2.2.0")] +[assembly: AssemblyFileVersion("1.2.2.0")]