mirror of
https://github.com/raeleus/Hashtag-DnD.git
synced 2025-07-06 05:30:28 -04:00
Only show #initiative hint in #encounter if there are enemies in the encounter.
This commit is contained in:
parent
e3a19be73c
commit
7c2a27e559
1 changed files with 1 additions and 1 deletions
2
Input.js
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue