Skip to content

Commit

Permalink
Don't show dogtag ID in action menu
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Oct 17, 2016
1 parent d9a199b commit e558664
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/dogtags/functions/fnc_addDogtagActions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ private _unitDogtagIDs = [];
//Create action children for all dogtags
private _actions = [];
{
private _tagID = _unitDogtagIDs select _forEachIndex;
private _displayName = format ["%1 #%2", getText (configFile >> "CfgWeapons" >> _x >> "displayName"), _tagID];
private _displayName = format ["%1", getText (configFile >> "CfgWeapons" >> _x >> "displayName")];
private _picture = getText (configFile >> "CfgWeapons" >> _x >> "picture");

private _action = [_x, _displayName, _picture, {_this call FUNC(checkDogtagItem)}, {true}, {}, _x] call EFUNC(interact_menu,createAction);
Expand Down

0 comments on commit e558664

Please sign in to comment.