Skip to content

Commit

Permalink
Fix regression with resolvables on nested arrays (foundryvtt#15351)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez authored Jul 4, 2024
1 parent 714e922 commit 6f585ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/rules/rule-element/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ abstract class RuleElementPF2e<TSchema extends RuleElementSchema = RuleElementSc
}
} else if (R.isPlainObject(source)) {
for (const [key, value] of Object.entries(source)) {
if (typeof value === "string" || R.isPlainObject(value)) {
if (typeof value === "string" || R.isObjectType(value)) {
source[key] = this.resolveInjectedProperties(value, options);
}
}
Expand Down

0 comments on commit 6f585ce

Please sign in to comment.