mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Merged with main
This commit is contained in:
commit
4319fbabb9
11 changed files with 88 additions and 12 deletions
|
|
@ -94,8 +94,9 @@ class ResourcesField extends fields.TypedObjectField {
|
|||
|
||||
const resources = CONFIG.DH.RESOURCE[this.actorType].all;
|
||||
if (first in resources) {
|
||||
this.element.label = resources[first].label;
|
||||
return this.element._getField(path);
|
||||
const field = this.element._getField(path);
|
||||
field.label = resources[first].label;
|
||||
return field;
|
||||
}
|
||||
|
||||
return undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue