mirror of
https://github.com/BtbN/ClanServer.git
synced 2026-04-24 07:36:45 -05:00
Remove pointless .Where
This commit is contained in:
parent
7ca1f8489b
commit
17d8cf5e9d
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user