Skip to content

Commit

Permalink
fix earnIncome shortcut not working
Browse files Browse the repository at this point in the history
  • Loading branch information
reonZ committed Sep 1, 2024
1 parent aea4a1f commit fbc461b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hud/persistent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1344,6 +1344,8 @@ class PF2eHudPersistent extends makeAdvancedHUD(
return actor.getStatistic(slug)?.roll({ event });
} else if (shortcut.actionId === "recall-knowledge" && !shortcut.statistic) {
return rollRecallKnowledge(actor);
} else if (shortcut.actionId === "earnIncome") {
return game.pf2e.actions.earnIncome(actor);
}

rollStatistic(actor, event, shortcut);
Expand Down

0 comments on commit fbc461b

Please sign in to comment.