We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd0b9ac commit e4da253Copy full SHA for e4da253
src/module/documents/actor.mjs
@@ -62,6 +62,7 @@ export const convertActorData = (actor, options = {}) => {
62
63
// Senses and Movement (if not set by race)
64
if (!actor.items.some((i) => i.type === "race")) {
65
+ updateData.system.attributes ??= {};
66
for (const field of ["senses", "movement"]) {
67
const fieldData = actor.system?.attributes?.[field];
68
updateData.system.attributes[field] = convertDistanceField(fieldData, target);
0 commit comments