Mass: make the code look in the right places.
Time to facepalm...
This commit is contained in:
parent
f963ce31ad
commit
d9f6470dc6
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ void Mass::getBulletLauncherAttachments() {
|
|||
return;
|
||||
}
|
||||
|
||||
auto attach_style_prop = _mass->at<ByteProperty>("WeaponBLAttachmentStyle_65_5943FCE8406F18D2C3F69285EB23A699"_s);
|
||||
auto attach_array = _mass->at<ArrayProperty>("WeaponBLAttachment_61_442D08F547510A4CEE1501BBAF297BA0"_s);
|
||||
auto attach_style_prop = unit_data->at<ByteProperty>("WeaponBLAttachmentStyle_65_5943FCE8406F18D2C3F69285EB23A699"_s);
|
||||
auto attach_array = unit_data->at<ArrayProperty>("WeaponBLAttachment_61_442D08F547510A4CEE1501BBAF297BA0"_s);
|
||||
|
||||
if(!attach_style_prop && !attach_array) {
|
||||
_armour.blAttachmentStyle = BulletLauncherAttachmentStyle::NotFound;
|
||||
|
|
Loading…
Reference in a new issue