Skip to content

Commit

Permalink
Updated for Beat Saber v1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zingabopp committed Mar 31, 2022
1 parent 12f25ba commit 487845d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion OBSControl/GameStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ public static async Task SetupAsync()
{
try
{
var playerSettings = GameSetupData?.playerSpecificSettings;
var envSO = GameSetupData?.environmentInfo ?? throw new InvalidOperationException("Could not aquire environment info for game stats setup.");
if (DifficultyBeatmap == null)
throw new InvalidOperationException("Could not aquire difficulty beatmap for game stats setup");
var beatmapData = await DifficultyBeatmap.GetBeatmapDataAsync(envSO).ConfigureAwait(false);
var beatmapData = await DifficultyBeatmap.GetBeatmapDataAsync(envSO, playerSettings).ConfigureAwait(false);
MaxScore = ScoreModel.ComputeMaxMultipliedScoreForBeatmap(beatmapData);
Logger.log?.Debug($"MaxScore: {MaxScore}");
}
Expand Down
4 changes: 2 additions & 2 deletions OBSControl/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"$schema": "https://raw.githubusercontent.com/bsmg/BSIPA-MetadataFileSchema/master/Schema.json",
"author": "Zingabopp",
"description": "Automatically record videos using OBS Websocket.",
"gameVersion": "1.20.0",
"gameVersion": "1.21.0",
"id": "OBSControl",
"name": "OBSControl",
"version": "2.1.0",
"version": "2.1.1",
"dependsOn": {
"BSIPA": "^4.2.2",
"BeatSaberMarkupLanguage": "^1.6.3",
Expand Down
Binary file modified Refs/Beat Saber_Data/Managed/IPA.Loader.dll
Binary file not shown.
Binary file modified Refs/Libs/SemVer.dll
Binary file not shown.
Binary file modified Refs/Plugins/BSML.dll
Binary file not shown.
Binary file modified Refs/Plugins/BS_Utils.dll
Binary file not shown.

0 comments on commit 487845d

Please sign in to comment.