Skip to content

Commit

Permalink
fix: Fixes "Start Encounter" IT button
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Apr 4, 2024
1 parent 3a8ece6 commit 21b4cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/basic 5e/basic5e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const Statblock5e: StatblockItem[] = [
id: nanoid(),
icon: "sword",
callback:
"try { InitiativeTracker.newEncounter({creatures: [monster]}); } catch(e) {}"
"try { InitiativeTracker.newEncounter({roll: true, creatures: [monster]}); } catch(e) {}"
},
{
type: "action",
Expand Down Expand Up @@ -736,5 +736,5 @@ export const Layout5e: DefaultLayout = {
id: "basic-5e-layout",
name: "Basic 5e Layout",
edited: false,
version: 7
version: 8
};

0 comments on commit 21b4cc9

Please sign in to comment.