Added username color to Hunt point award.

This commit is contained in:
Niels Simenon 2022-10-30 05:03:11 +01:00
parent 435ff3a4b5
commit 89dc51e3e9
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ function playLetter(playedLetter, context) {
renderBoard(context); renderBoard(context);
if (game.partial.every((letter) => letter !== null)) { if (game.partial.every((letter) => letter !== null)) {
context.sendMessage(`${style.bold('The word was completed.')} ${context.user.prefixedUsername} gets a point!`, context.room.id); context.sendMessage(`${style.bold('The word was completed.')} ${style.username(context.user.prefixedUsername)} gets a point!`, context.room.id);
context.setPoints(context.user); context.setPoints(context.user);
games.delete(context.room.id); games.delete(context.room.id);