Skip to content

Commit

Permalink
fix: add false as an option for parties
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Aug 24, 2023
1 parent ee5f812 commit 0651b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encounter/editor-suggestor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class EncounterSuggester extends EditorSuggest<string> {
suggestions = this.plugin.bestiaryNames;
break;
case SuggestContext.Party:
suggestions = this.plugin.data.parties?.map((p) => p.name);
suggestions = ["false", ...this.plugin.data.parties?.map((p) => p.name)];
break;
case SuggestContext.RollHP:
suggestions = ["true", "false"];
Expand Down

0 comments on commit 0651b84

Please sign in to comment.