GameObjects: minor formatting fix.
This commit is contained in:
parent
74e99d22b1
commit
f322cf4ab2
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ Mass::writeWeaponType(Containers::StringView prop_name, Containers::ArrayView<We
|
||||||
auto parts_prop = weapon_prop->at<Gvas::Types::ArrayProperty>(MASS_WEAPON_ELEMENT);
|
auto parts_prop = weapon_prop->at<Gvas::Types::ArrayProperty>(MASS_WEAPON_ELEMENT);
|
||||||
if(parts_prop->items.size() != weapon.parts.size()) {
|
if(parts_prop->items.size() != weapon.parts.size()) {
|
||||||
LOG_ERROR(_lastError = Utility::format("Weapon part arrays are not of the same size. Expected {}, got {} instead.",
|
LOG_ERROR(_lastError = Utility::format("Weapon part arrays are not of the same size. Expected {}, got {} instead.",
|
||||||
weapon.parts.size(), parts_prop->items.size()));
|
weapon.parts.size(), parts_prop->items.size()));
|
||||||
_state = State::Invalid;
|
_state = State::Invalid;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue