From fbc461b312864bcdeebdf09b9cb4a37b3201323a Mon Sep 17 00:00:00 2001 From: Idle <651462+reonZ@users.noreply.github.com> Date: Sun, 1 Sep 2024 19:29:56 +0200 Subject: [PATCH] fix earnIncome shortcut not working --- src/hud/persistent.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hud/persistent.ts b/src/hud/persistent.ts index f837c45..de6abfc 100644 --- a/src/hud/persistent.ts +++ b/src/hud/persistent.ts @@ -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);