Only show #initiative hint in #encounter if there are enemies in the encounter.

This commit is contained in:
raeleus 2024-10-13 11:04:11 -07:00
parent e3a19be73c
commit 7c2a27e559

View file

@ -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