Skip to content

Commit

Permalink
Wait for group mgr rolls to evaluate before creating chat message (#1033
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tropiclwd authored Jan 20, 2022
1 parent 50592f6 commit 6d70951
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/groupmanager-ffg.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ export class GroupManager extends FormApplication {
}

async _rollTable(table, type) {
let r = new Roll("1d100").roll();
let r = new Roll("1d100");
await r.evaluate();
let rollOptions = game.settings.get("starwarsffg", "privateTriggers") ? { rollMode: "gmroll" } : {};
r.toMessage(
{
Expand Down

0 comments on commit 6d70951

Please sign in to comment.