diff --git a/module/actor/actor-importer.js b/module/actor/actor-importer.js index bf2d98e6..66129094 100644 --- a/module/actor/actor-importer.js +++ b/module/actor/actor-importer.js @@ -1537,8 +1537,9 @@ export class ActorImporter { } data.QP.value = qp - let bl_value = parseDecimalNumber(calc?.basic_lift.match(/[\d,\.]+/g)[0]) - let bl_unit = calc?.basic_lift.replace(bl_value + ' ', '') + let bl_string = calc?.basic_lift.match(/[\d,\.]+/g)[0] + let bl_value = parseDecimalNumber(bl_string) + let bl_unit = calc?.basic_lift.replace(bl_string + ' ', '') let lm = {} lm.basiclift = (bl_value * 1).toString() + ' ' + bl_unit