Skip to content

Commit

Permalink
fix rollInitiative on 0.7.x, closes #4, closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
tonifisler committed Oct 5, 2020
1 parent 782ab13 commit 3a96216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group-initiative.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async function rollGroupInitiative(creatures) {
};

// Roll initiative for the group leaders only.
await this.rollInitiative(ids, null, messageOptions);
await this.rollInitiative(ids, {messageOptions});

// Prepare the others in the group.
const updates = creatures.reduce((updates, {_id, initiative, actor}) => {
Expand Down

0 comments on commit 3a96216

Please sign in to comment.