mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
f
This commit is contained in:
parent
17dd9b1f61
commit
479e147640
25 changed files with 339 additions and 289 deletions
|
|
@ -125,7 +125,7 @@ export default class DHItem extends foundry.documents.Item {
|
|||
async use(event) {
|
||||
const actions = this.system.actionsList;
|
||||
if (actions?.size) {
|
||||
let action = actions.contents[0];
|
||||
let action = actions.first(0);
|
||||
if (actions.size > 1 && !event?.shiftKey) {
|
||||
// Actions Choice Dialog
|
||||
action = await this.selectActionDialog(event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue