mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-20 16:44:40 +01:00
Added a setting to hide attribution
This commit is contained in:
parent
e8aa2acdf0
commit
52466b2803
15 changed files with 47 additions and 15 deletions
|
|
@ -55,6 +55,9 @@ export default class DHBaseActorSheet extends DHApplicationMixin(ActorSheetV2) {
|
|||
async _prepareContext(_options) {
|
||||
const context = await super._prepareContext(_options);
|
||||
context.isNPC = this.document.isNPC;
|
||||
context.showAttribution = !game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance)
|
||||
.hideAttribution;
|
||||
|
||||
return context;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue