diff --git a/addons/ui/fnc_initDisplayRemoteMissions.sqf b/addons/ui/fnc_initDisplayRemoteMissions.sqf index 770967e3e..2d401e979 100644 --- a/addons/ui/fnc_initDisplayRemoteMissions.sqf +++ b/addons/ui/fnc_initDisplayRemoteMissions.sqf @@ -25,18 +25,17 @@ private _fnc_findMissions = { _display setVariable [QGVAR(stockMissions), _stockMissions]; -// Show worldnames for maps +// Show worldnames as tooltips on map list private _mapNames = createHashMap; { private _worldName = configName _x; private _description = getText (configFile >> "CfgWorlds" >> _worldName >> "description"); _mapNames set [_description, _worldname]; } forEach (configProperties [configfile >> "CfgWorldList", "isClass _x"]); - for "_index" from 0 to ((lbSize _ctrlMaps) - 1) do { private _description = _ctrlMaps lbText _index; private _worldName = _mapNames getOrDefault [_description, ""]; - _ctrlMaps lbSetText [_index, format ["%1 [%2]", _description, _worldName]]; + _ctrlMaps lbSetTooltip [_index, _worldName]; }; lbSort _ctrlMaps;