Skip to content

Commit

Permalink
Merge branch 'highscore-notify' of https://github.com/Metraberryy/Pro…
Browse files Browse the repository at this point in the history
…jectLighthouse into highscore-notify
  • Loading branch information
Metraberryy committed Jan 2, 2025
2 parents 7637923 + 359b751 commit 9119111
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ public async Task<IActionResult> SubmitScore(string slotType, int id, int childI
{
GameScore? second = scores.Scores[1];
UserEntity? user = await this.database.UserFromGameToken(token);

await this.database.SendNotification(second.UserId, $"{user?.InfoXml} beat your highscore (<em>{second.Points}</em>) on {slot.InfoXml} with a score of <em>{score.Points}</em>.", true);

Check warning on line 180 in ProjectLighthouse.Servers.GameServer/Controllers/Slots/ScoreController.cs

View workflow job for this annotation

GitHub Actions / Qodana for .NET

Redundant argument with default value

The parameter 'prefix' has the same default value
}

Expand Down

0 comments on commit 9119111

Please sign in to comment.