Skip to content

Commit

Permalink
fix: Saved encounters now respect the roll HP setting
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed May 9, 2023
1 parent 75c8664 commit 554a430
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tracker/ui/SaveEncounter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
} else {
plugin.data.encounters[encounterName] = {
...tracker.getEncounterState(),
name: encounterName
name: encounterName,
rollHP: plugin.data.rollHP
};
await plugin.saveSettings();
dispatch("cancel");
Expand Down

0 comments on commit 554a430

Please sign in to comment.