GameObjects: minor formatting fix.

This commit is contained in:
Guillaume Jacquemin 2024-12-08 20:28:44 +01:00
parent 74e99d22b1
commit f322cf4ab2
Signed by: williamjcm
SSH key fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A

View file

@ -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;
} }