Build viewer/editor #13
1 changed files with 23 additions and 24 deletions
|
@ -1055,9 +1055,9 @@ void Mass::getWeaponType(const char* prop_name, Containers::ArrayView<Weapon> we
|
|||
auto part_accs = part_prop->at<ArrayProperty>("Accessories_21_3878DE8B4ED0EA0DB725E98BCDC20E0C");
|
||||
if(!part_accs) {
|
||||
_demo = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!_demo) {
|
||||
if(part_accs->items.size() != 8) {
|
||||
_state = State::Invalid;
|
||||
return;
|
||||
|
@ -1088,4 +1088,3 @@ void Mass::getWeaponType(const char* prop_name, Containers::ArrayView<Weapon> we
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue