diff --git a/addons/arsenal/XEH_postInit.sqf b/addons/arsenal/XEH_postInit.sqf index c15ff5143a..c6f8867a1e 100644 --- a/addons/arsenal/XEH_postInit.sqf +++ b/addons/arsenal/XEH_postInit.sqf @@ -38,7 +38,7 @@ GVAR(lastSearchTextRight) = ""; if (!(isNil QGVAR(currentLoadoutsTab)) && {GVAR(currentLoadoutsTab) == IDC_buttonSharedLoadouts}) then { - private _curSelText =_contentPanel lnbText [(lnbCurSelRow _contentPanel), 1]; + private _curSelText =_contentPanel lnbData [(lnbCurSelRow _contentPanel), 1]; ([_loadoutData] call FUNC(verifyLoadout)) params ["_loadout", "_nullItemsAmount", "_unavailableItemsAmount"]; private _newRow = _contentPanel lnbAddRow [_playerName, _loadoutName]; diff --git a/addons/arsenal/functions/fnc_fillLoadoutsList.sqf b/addons/arsenal/functions/fnc_fillLoadoutsList.sqf index 881edd95cc..97bdac1c4d 100644 --- a/addons/arsenal/functions/fnc_fillLoadoutsList.sqf +++ b/addons/arsenal/functions/fnc_fillLoadoutsList.sqf @@ -80,6 +80,8 @@ if (GVAR(currentLoadoutsTab) != IDC_buttonSharedLoadouts) then { _contentListCtrl lnbSetPicture [[_newRow, 8], getText (configFile >> "cfgWeapons" >> (_loadout select 6) >> "picture")]; _contentListCtrl lnbSetPicture [[_newRow, 9], getText (configFile >> "cfgGlasses" >> (_loadout select 7) >> "picture")]; + _contentListCtrl lnbSetData [[_newRow, 1], _playerName + _loadoutName]; + if (_nullItemsAmount > 0) then { _contentListCtrl lnbSetColor [[_newRow, 1], [1, 0, 0, 0.5]];