Skip to content

Commit

Permalink
Added missing export
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Aug 24, 2024
1 parent fbad6bd commit 29ce5ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/hooks.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MODULE_ID } from "./helper/const.js";
import { checkActionSupport, getCoolDownTime, updateFrequencyOfActors } from "./module.js";
import { checkActionSupport, getCoolDownTime, updateFrequency, updateFrequencyOfActors } from "./module.js";

export async function updateItem(item, changes, _diff, _userID) {
//Use this to set item flags
Expand Down
2 changes: 1 addition & 1 deletion scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function updateFrequencyOfActors(
}
}

async function updateFrequency(character, total, diff, situation = "default") {
export async function updateFrequency(character, total, diff, situation = "default") {
const items = character.items.contents;
const relevantItems = items.filter((it) =>
isItemRelevant(it, total, diff, situation)
Expand Down

0 comments on commit 29ce5ab

Please sign in to comment.