From 7c2a27e559d4cbb4c6301858ea29057a5a076996 Mon Sep 17 00:00:00 2001 From: raeleus Date: Sun, 13 Oct 2024 11:04:11 -0700 Subject: [PATCH] Only show #initiative hint in #encounter if there are enemies in the encounter. --- Input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Input.js b/Input.js index 26c0544..c2b95eb 100644 --- a/Input.js +++ b/Input.js @@ -2065,7 +2065,7 @@ function doEncounter(command) { } } - state.prefix += "[Type #initiative to begin the battle]\n" + state.prefix += encounter.enemies.length > 0 ? "[Type #initiative to begin the battle]\n" : "" state.show = "prefix" return text