Fix wrong config path in FUNC(calculateMass)

This commit is contained in:
commy2 2016-08-09 18:20:25 +02:00 committed by GitHub
parent 02794a972b
commit 7000414df4

View File

@ -26,7 +26,7 @@ private _mass = getNumber (configFile >> "CfgWeapons" >> _weapon >> "WeaponSlots
} foreach _items;
{
_mass = _mass + getNumber (configFile >> "CfgWeapons" >> _x >> "mass");
_mass = _mass + getNumber (configFile >> "CfgMagazines" >> _x >> "mass");
} forEach _magazines;
_mass