Skip to content

Commit

Permalink
Fix theatre of the mind rolls
Browse files Browse the repository at this point in the history
  • Loading branch information
snap01 committed Jun 5, 2022
1 parent efc3850 commit 47364e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/apps/coc7-chat-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ export class CoC7ChatMessage {
}
if (
typeof config.options.actorId === 'undefined' ||
typeof config.options.tokenKey === 'undefined' ||
typeof config.options.actor === 'undefined'
(typeof config.options.tokenKey === 'undefined' &&
typeof config.options.actor === 'undefined')
) {
ui.notifications.error(
game.i18n.format('CoC7.ErrorInvalidFormula', {
Expand Down

0 comments on commit 47364e1

Please sign in to comment.