Add comments for the v13 shims to make it easier to find them
This commit is contained in:
parent
cfa352e5e0
commit
e4e1f30fcb
2 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ export class TAFActor extends Actor {
|
|||
// Assign the defaults from the world setting if they exist
|
||||
const defaults = game.settings.get(__ID__, `actorDefaultAttributes`) ?? {};
|
||||
if (!hasProperty(data, `system.attr`)) {
|
||||
// Remove with issue: Foundry/taf#55
|
||||
const value = game.release.generation > 13 ? _replace(defaults) : defaults;
|
||||
this.updateSource({ "system.==attr": value });
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue