mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-24 14:11:29 +00:00
Merge branch 'highscore-notify' of https://github.com/Metraberryy/ProjectLighthouse into highscore-notify
This commit is contained in:
commit
9119111dfb
1 changed files with 1 additions and 0 deletions
|
@ -176,6 +176,7 @@ public class ScoreController : ControllerBase
|
|||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue