mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-19 08:20:30 +01:00
Fix conflict
This commit is contained in:
commit
d087bd8ae2
21 changed files with 243 additions and 546 deletions
|
|
@ -15,6 +15,7 @@ export default class TargetField extends fields.SchemaField {
|
|||
|
||||
static prepareConfig(config) {
|
||||
if (!this.target?.type) return [];
|
||||
config.hasTarget = true;
|
||||
let targets;
|
||||
if (this.target?.type === CONFIG.DH.GENERAL.targetTypes.self.id)
|
||||
targets = [this.actor.token ?? this.actor.prototypeToken];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue