Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Pass missing combat object for DND5e (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnolan authored May 1, 2023
1 parent a813674 commit 1184469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/SetupHooksDND5e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export default class SetupHooksDND5e {
});
window.Hooks.on(
"updateCombat",
async function (_combat: Combat, data: HookUpdateCombatRound) {
OnUpdateCombat(data.round);
async function (combat: Combat, data: HookUpdateCombatRound) {
OnUpdateCombat(data.round, combat);
}
);

Expand Down

0 comments on commit 1184469

Please sign in to comment.