mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Action Save difficulty (#427)
* Action Save difficulty * Unequipped item icon opacity * Fix sheet header
This commit is contained in:
parent
33ac7d5ab7
commit
8cb4b7663e
13 changed files with 20 additions and 12 deletions
|
|
@ -311,7 +311,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
icon: 'fa-solid fa-hands',
|
||||
condition: target => {
|
||||
const doc = getDocFromElementSync(target);
|
||||
return doc && system.equipped;
|
||||
return doc && doc.system.equipped;
|
||||
},
|
||||
callback: (target, event) => CharacterSheet.#toggleEquipItem.call(this, event, target)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue