From bc234536696c8cd1444e2cc7444de04f203e9485 Mon Sep 17 00:00:00 2001 From: raeleus Date: Sat, 26 Oct 2024 15:54:46 -0700 Subject: [PATCH] Title case for characters in initiative order. Resolves #82 --- Output.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Output.js b/Output.js index 48854b9..5fda02d 100644 --- a/Output.js +++ b/Output.js @@ -307,7 +307,7 @@ const modifier = (text) => { } else { var index = 0 for (var character of state.initiativeOrder) { - text += `${++index}. ${character.name} (Initiative: ${character.calculatedInitiative})\n` + text += `${++index}. ${toTitleCase(character.name)} (Initiative: ${character.calculatedInitiative})\n` } }