Skip to content

Commit

Permalink
Merge pull request #143 from Kylemc1413/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Meivyn authored Apr 28, 2024
2 parents ee5c987 + 8616bb3 commit 9c19c84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/SongCore/HarmonyPatches/LevelSelectionPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ private static void Postfix(LevelListTableCell __instance, BeatmapLevel level)
// Rounding BPM display for all maps, including official ones
__instance._songBpmText.text = System.Math.Round(level.beatsPerMinute).ToString(CultureInfo.InvariantCulture);

var authors = level.allMappers.Concat(level.allLighters).Join();
var authors = level.allMappers.Concat(level.allLighters).Distinct().Join();
if (!string.IsNullOrWhiteSpace(authors))
{
__instance._songAuthorText.richText = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace SongCore.OverrideClasses
public class SongCoreCustomBeatmapLevelPack : BeatmapLevelPack
{
public SongCoreCustomBeatmapLevelPack(string packID, string packName, Sprite coverImage, BeatmapLevel[] beatmapLevels, string shortPackName = "")
: base(packID, packName, shortPackName == string.Empty ? packName : shortPackName, coverImage == Loader.defaultCoverImage ? coverImage : Sprite.Create(coverImage.texture, coverImage.rect, coverImage.pivot, coverImage.texture.width), coverImage, beatmapLevels, PlayerSensitivityFlag.Safe)
: base(packID, packName, shortPackName.Length == 0 ? packName : shortPackName, coverImage == Loader.defaultCoverImage ? coverImage : Sprite.Create(coverImage.texture, coverImage.rect, coverImage.pivot, coverImage.texture.width), coverImage, beatmapLevels, PlayerSensitivityFlag.Safe)
{
}

Expand Down
2 changes: 1 addition & 1 deletion source/SongCore/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"gameVersion": "1.36.0",
"id": "SongCore",
"name": "SongCore",
"version": "3.14.0",
"version": "3.14.1",
"dependsOn": {
"BSIPA": "^4.3.0",
"BeatSaberMarkupLanguage": "^1.7.6",
Expand Down

0 comments on commit 9c19c84

Please sign in to comment.