diff --git a/ProjectLighthouse/Controllers/GameApi/Slots/ScoreController.cs b/ProjectLighthouse/Controllers/GameApi/Slots/ScoreController.cs index e92785ba..a73adea9 100644 --- a/ProjectLighthouse/Controllers/GameApi/Slots/ScoreController.cs +++ b/ProjectLighthouse/Controllers/GameApi/Slots/ScoreController.cs @@ -64,7 +64,9 @@ public class ScoreController : ControllerBase break; } - IQueryable existingScore = this.database.Scores.Where(s => s.SlotId == score.SlotId && s.PlayerIdCollection == score.PlayerIdCollection); + IQueryable existingScore = this.database.Scores.Where(s => s.SlotId == score.SlotId) + .Where(s => s.PlayerIdCollection == score.PlayerIdCollection) + .Where(s => s.Type == score.Type); if (existingScore.Any()) {