diff --git a/lib/migration.js b/lib/migration.js index 49cb9b444..381b4a001 100644 --- a/lib/migration.js +++ b/lib/migration.js @@ -40,7 +40,7 @@ export class Migration { for ( let actor of game.actors.entities ) { let commit = { "data.migrationversion" : v } recurselist(actor.data.data.hitlocations, (e, k, d) => { - if (e.dr == null) commit = { ...commit, ...{ ['data.hitlocations.' + k + '.import']: e.dr || 1 } } + if (e.import == null) commit = { ...commit, ...{ ['data.hitlocations.' + k + '.import']: e.dr } } }) console.log("Updating " + actor.name) console.log(GURPS.objToString(commit))