Skip to content

Commit

Permalink
Deduplicate level authors
Browse files Browse the repository at this point in the history
  • Loading branch information
Meivyn committed Apr 28, 2024
1 parent ee5c987 commit ae10d2c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit ae10d2c

Please sign in to comment.