From 6c76d5b47075a99d95334e48853079d044e5010a Mon Sep 17 00:00:00 2001 From: ir0n1e Date: Tue, 10 May 2016 23:02:52 +0200 Subject: [PATCH] Changed mass to config mass - cause of #3779 --- addons/gunbag/functions/fnc_calculateMass.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/gunbag/functions/fnc_calculateMass.sqf b/addons/gunbag/functions/fnc_calculateMass.sqf index 751d96d573..fc8cac69be 100644 --- a/addons/gunbag/functions/fnc_calculateMass.sqf +++ b/addons/gunbag/functions/fnc_calculateMass.sqf @@ -22,4 +22,4 @@ private _mass = getNumber (configFile >> "CfgWeapons" >> _weapon >> "WeaponSlots _mass = _mass + getNumber (configFile >> "CfgWeapons" >> _x >> "ItemInfo" >> "mass"); } foreach _items; -(_mass / 22) +_mass