From 40844971ed5614921fca58a5b14ebe3e93e864b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A4r=20Halberkamp?= Date: Mon, 21 Dec 2015 00:01:25 +0100 Subject: [PATCH] Mafia: Make the game display "Night X" if it's night --- chat-plugins/mafia.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat-plugins/mafia.js b/chat-plugins/mafia.js index 09b537962d..2e048439ed 100755 --- a/chat-plugins/mafia.js +++ b/chat-plugins/mafia.js @@ -227,7 +227,7 @@ class Mafia extends Rooms.RoomGame { // Simple window, used for announcements and the likes. mafiaWindow(image, content) { let output = '
'; - output += '

Day ' + this.day + '

'; + output += '

' + ((this.gamestate === 'day' || this.gamestate === 'lynch') ? 'Day ' : 'Night ') + this.day + '

'; output += '
' + image + ''; output += content; output += '
';