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");
|
auto part_accs = part_prop->at<ArrayProperty>("Accessories_21_3878DE8B4ED0EA0DB725E98BCDC20E0C");
|
||||||
if(!part_accs) {
|
if(!part_accs) {
|
||||||
_demo = true;
|
_demo = true;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!_demo) {
|
|
||||||
if(part_accs->items.size() != 8) {
|
if(part_accs->items.size() != 8) {
|
||||||
_state = State::Invalid;
|
_state = State::Invalid;
|
||||||
return;
|
return;
|
||||||
|
@ -1087,5 +1087,4 @@ void Mass::getWeaponType(const char* prop_name, Containers::ArrayView<Weapon> we
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue