Skip to content

Commit

Permalink
Fix for 0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kylemc1413 committed Apr 1, 2019
1 parent c3074c6 commit 534a9c4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion Beat Saber Utils/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions Beat Saber Utils/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

0 comments on commit 534a9c4

Please sign in to comment.