mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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:
parent
3442a47942
commit
8192108e19
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user