From a6a2f2a487895f29234d9cd1d12543c6ed6a5e66 Mon Sep 17 00:00:00 2001 From: Annika Date: Thu, 22 Aug 2024 05:26:21 +0000 Subject: [PATCH] Trivia: Fix official-ending message --- server/chat-plugins/trivia/trivia.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/chat-plugins/trivia/trivia.ts b/server/chat-plugins/trivia/trivia.ts index cd6d2939bc66..9af7e1c9649d 100644 --- a/server/chat-plugins/trivia/trivia.ts +++ b/server/chat-plugins/trivia/trivia.ts @@ -737,7 +737,7 @@ export class Trivia extends Rooms.RoomGame { if (!user) continue; user.sendTo( this.room.roomid, - (this.game.givesPoints ? this.room.tr`You gained ${player.points} and answered ` : this.room.tr`You answered `) + + (this.game.givesPoints ? this.room.tr`You gained ${player.points} points and answered ` : this.room.tr`You answered `) + this.room.tr`${player.correctAnswers} questions correctly.` ); }