mirror of
https://github.com/BtbN/ClanServer.git
synced 2026-09-06 23:45:15 -05:00
Remove pointless .Where
This commit is contained in:
@@ -124,8 +124,7 @@ namespace ClanServer.Controllers.L44
|
||||
ctx.JubeatScores.Add(score);
|
||||
|
||||
JubeatHighscore highscore = ctx.JubeatHighscores
|
||||
.Where(s => s.MusicID == musicId && s.Seq == seq && s.ProfileID == profile.ID)
|
||||
.SingleOrDefault();
|
||||
.SingleOrDefault(s => s.MusicID == musicId && s.Seq == seq && s.ProfileID == profile.ID);
|
||||
|
||||
if (highscore == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user