diff --git a/ProjectLighthouse.Servers.GameServer/Controllers/Slots/ScoreController.cs b/ProjectLighthouse.Servers.GameServer/Controllers/Slots/ScoreController.cs index 3b5f2df2..cfb986b1 100644 --- a/ProjectLighthouse.Servers.GameServer/Controllers/Slots/ScoreController.cs +++ b/ProjectLighthouse.Servers.GameServer/Controllers/Slots/ScoreController.cs @@ -77,11 +77,7 @@ public class ScoreController : ControllerBase if (score.PlayerIds.Length == 1) { char[] delimiters = { ':', ',', }; - foreach (char delimiter in delimiters) - { - score.PlayerIds = score.PlayerIds[0].Split(delimiter, StringSplitOptions.RemoveEmptyEntries); - } - + score.PlayerIds = score.PlayerIds[0].Split(delimiters).Distinct().ToArray(); } if (score.PlayerIds.Length == 0)