Pylons - Show ammo description in pylon loadout tooltips (#8881)

* Show ammo description in pylon loadout tooltips

* Update addons/pylons/functions/fnc_showDialog.sqf

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
This commit is contained in:
Dedmen Miller 2022-04-23 11:24:50 +02:00 committed by GitHub
parent 3442a47942
commit 8192108e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,6 +93,8 @@ GVAR(comboBoxes) = [];
{
_combo lbAdd getText (configFile >> "CfgMagazines" >> _x >> "displayName");
_combo lbSetData [_forEachIndex + 1, _x];
private _description = getText (configFile >> "CfgMagazines" >> _x >> "descriptionShort");
_combo lbSetTooltip [_forEachIndex + 1, _description];
if (_x == _mag) then {
_index = _forEachIndex + 1;