Skip to content

Commit

Permalink
Merge pull request #41 from qqrz997/master
Browse files Browse the repository at this point in the history
Changes for Beat Saber 1.40.0
  • Loading branch information
kinsi55 authored Dec 20, 2024
2 parents fb67ba8 + e57644c commit 1c208f7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ HarmonyPatches/RemoveSplashscreen.cs
HarmonyPatchHelper.cs
Screenshots/SocialPreview.jpg
/.vs
/.idea
3 changes: 3 additions & 0 deletions BetterSongList.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@
<Reference Include="IPA.Loader">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\IPA.Loader.dll</HintPath>
</Reference>
<Reference Include="SegmentedControl">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\SegmentedControl.dll</HintPath>
</Reference>
<Reference Include="Unity.TextMeshPro">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Unity.TextMeshPro.dll</HintPath>
</Reference>
Expand Down
2 changes: 1 addition & 1 deletion Filters/Models/RequirementsFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public bool GetValueFor(BeatmapLevel level) {
if(mid == null)
return false;

return SongCore.Collections.RetrieveExtraSongData(mid)?
return SongCore.Collections.GetCustomLevelSongData(mid)?
._difficulties?.Any(x => x.additionalDifficultyData._requirements.Any(x => x.Length != 0)) == true;
}
}
Expand Down
2 changes: 1 addition & 1 deletion HarmonyPatches/UI/ExtraLevelParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void wrapper() {
var basicData = __instance._beatmapLevel.GetDifficultyBeatmapData(beatmapKey.beatmapCharacteristic, beatmapKey.difficulty);
var njs = basicData?.noteJumpMovementSpeed ?? 0;
if(njs == 0)
njs = BeatmapDifficultyMethods.NoteJumpMovementSpeed(beatmapKey.difficulty);
njs = beatmapKey.difficulty.DefaultNoteJumpMovementSpeed();

fields[2].text = njs.ToString("0.0#");

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"gameVersion": "1.37.4",
"dependsOn": {
"BSIPA": "^4.3.5",
"SongCore": "^3.14.13",
"SongCore": "^3.15.1",
"BeatSaberMarkupLanguage": "^1.12.0"
},
"loadBefore": [
Expand Down

0 comments on commit 1c208f7

Please sign in to comment.