diff --git a/src/Mass/Mass_Armour.cpp b/src/Mass/Mass_Armour.cpp index 94a2d74..5d72eca 100644 --- a/src/Mass/Mass_Armour.cpp +++ b/src/Mass/Mass_Armour.cpp @@ -178,8 +178,8 @@ void Mass::getBulletLauncherAttachments() { return; } - auto attach_style_prop = _mass->at("WeaponBLAttachmentStyle_65_5943FCE8406F18D2C3F69285EB23A699"_s); - auto attach_array = _mass->at("WeaponBLAttachment_61_442D08F547510A4CEE1501BBAF297BA0"_s); + auto attach_style_prop = unit_data->at("WeaponBLAttachmentStyle_65_5943FCE8406F18D2C3F69285EB23A699"_s); + auto attach_array = unit_data->at("WeaponBLAttachment_61_442D08F547510A4CEE1501BBAF297BA0"_s); if(!attach_style_prop && !attach_array) { _armour.blAttachmentStyle = BulletLauncherAttachmentStyle::NotFound;