mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Some tests
This commit is contained in:
parent
6d7401c874
commit
86cb466f6e
2 changed files with 16 additions and 2 deletions
|
|
@ -37,7 +37,11 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
|
|||
|
||||
this.extraSchemas.forEach(s => {
|
||||
let clsField;
|
||||
if ((clsField = this.getActionField(s))) schemaFields[s] = new clsField();
|
||||
if ((clsField = this.getActionField(s))) schemaFields[s] = new clsField(
|
||||
{
|
||||
type: this
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
return schemaFields;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue