diff --git a/addons/arsenal/functions/fnc_buttonCargo.sqf b/addons/arsenal/functions/fnc_buttonCargo.sqf index 014d2f333e..c9ac485dd9 100644 --- a/addons/arsenal/functions/fnc_buttonCargo.sqf +++ b/addons/arsenal/functions/fnc_buttonCargo.sqf @@ -63,6 +63,8 @@ switch GVAR(currentLeftPanel) do { }; (_display displayCtrl IDC_loadIndicatorBar) progressSetPosition _load; +(_display displayCtrl IDC_totalWeightText) ctrlSetText (GVAR(center) call EFUNC(movement,getWeight)); // TBL + private _value = {_x == _item} count _items; _ctrlList lnbSetText [[_lnbCurSel, 2],str _value]; \ No newline at end of file diff --git a/addons/arsenal/functions/fnc_onSelChangedRightListnBox.sqf b/addons/arsenal/functions/fnc_onSelChangedRightListnBox.sqf index acbdee9bef..c1ff0c7890 100644 --- a/addons/arsenal/functions/fnc_onSelChangedRightListnBox.sqf +++ b/addons/arsenal/functions/fnc_onSelChangedRightListnBox.sqf @@ -101,4 +101,4 @@ switch (GVAR(currentRightPanel)) do { }; }; -(_display displayCtrl IDC_totalWeightText) ctrlSetText (GVAR(center) call EFUNC(movement,getWeight)); // TBL \ No newline at end of file +(_display displayCtrl IDC_totalWeightText) ctrlSetText (GVAR(center) call EFUNC(movement,getWeight));