Skip to content

Commit

Permalink
Merge pull request #798 from righthandofvecna/non-dialog-rolls-public
Browse files Browse the repository at this point in the history
Fix the resolution of the roll mode logic in check.js
  • Loading branch information
dylanpiera authored Sep 9, 2024
2 parents 3142244 + 7a5788d commit a49f1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/system/check/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class PTUDiceCheck {

const skipDialog = skipDialogArg ?? eventToRollParams(this.event).skipDialog;

const rollMode = rollModeArg ?? this.options.has("secret") ? (game.user.isGM ? "gmroll" : "blindroll") : "roll";
const rollMode = rollModeArg ?? (this.options.has("secret") ? (game.user.isGM ? "gmroll" : "blindroll") : "roll");

const dialogContext = await (async () => {
if (skipDialog) return {
Expand Down

0 comments on commit a49f1e4

Please sign in to comment.