Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisk123999 committed Nov 10, 2024
2 parents 30d5c9a + aac44af commit 4b5ba65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/events/skillCheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ async function rollSkill(wrapped, skillId, options = {}) {
overtimeActorUuid = target.dataset.midiOvertimeActorUuid;
}
let messageData;
let messageDataFunc = (actor, rollData, skillIdInt) => {
if (actor.uuid !== this.uuid || skillIdInt !== skillId) {
let messageDataFunc = (actor, rollData, skillIdInternal) => {
if (actor.uuid !== this.uuid || skillIdInternal !== skillId) {
Hooks.once('dnd5e.preRollSkill', messageDataFunc);
return;
}
Expand Down

0 comments on commit 4b5ba65

Please sign in to comment.