Skip to content

Commit

Permalink
External Radio Action Descriptive Name
Browse files Browse the repository at this point in the history
  • Loading branch information
mrschick committed Jan 28, 2025
1 parent cfd6ef9 commit 0d3a314
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions addons/sys_external/fnc_listChildrenActions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ private _ownSharedRadios = [acre_player] call FUNC(getSharedExternalRadios);

private _baseRadio = [_x] call EFUNC(api,getBaseRadio);
private _item = configFile >> "CfgWeapons" >> _baseRadio;
private _displayName = getText (_item >> "displayName") + _owner;
private _currentChannel = [_x] call EFUNC(api,getRadioChannel);
_displayName = format [localize ELSTRING(ace_interact,channelShort), _displayName, _currentChannel];
private _displayName = [_x] call EFUNC(sys_core,getDescriptiveName);
private _picture = getText (_item >> "picture");

if ([_x, acre_player] call FUNC(checkListChildrenActions)) then {
Expand Down

0 comments on commit 0d3a314

Please sign in to comment.