Skip to content

Commit

Permalink
Update mafia.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
motogp-bit committed Dec 24, 2024
1 parent 6903706 commit 782b9a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/chat-plugins/mafia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2045,13 +2045,13 @@ export const pages: Chat.PageTable = {
buf += `<p><details><summary class="button" style="text-align:left; display:inline-block">No Response</summary>${noResponses}</span></details></p>`;
}
let previousActions = `<br/>`;
for (let i = 0; i < game.dayNum; i++) {
previousActions += `<b>Night ${i}</b><br/>`;
for (const player of game.players) {
previousActions += `<b>${player.safeName}</b>:${player.actionArr[i] ? `${player.actionArr[i]}` : ''}<br/>`;
}
previousActions += `<br/>`;
for (let i = 0; i < game.dayNum; i++) {
previousActions += `<b>Night ${i}</b><br/>`;
for (const player of game.players) {
previousActions += `<b>${player.safeName}</b>:${player.actionArr[i] ? `${player.actionArr[i]}` : ''}<br/>`;
}
previousActions += `<br/>`;
}
buf += `<h3>Host options</h3>`;
buf += `<p><details><summary class="button" style="text-align:left; display:inline-block">General Options</summary>`;
buf += `<h3>General Options</h3>`;
Expand Down

0 comments on commit 782b9a6

Please sign in to comment.