Skip to content

Commit

Permalink
Dogtags - Add missing private (acemod#10132)
Browse files Browse the repository at this point in the history
Update fnc_getDogtagItem.sqf
  • Loading branch information
johnb432 authored and blake8090 committed Aug 18, 2024
1 parent 72a062e commit da9e0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/dogtags/functions/fnc_getDogtagItem.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private _item = format ["ACE_dogtag_%1", GVAR(idCounter)];
// Dog tags have no mass, so no need to check if it can fit in container, but check if unit has an inventory at all
[_player, _item, true] call CBA_fnc_addItem;

_name = _dogtagData param [0, ""];
private _name = _dogtagData param [0, ""];

// If data doesn't exist or body has no name, set name as "unknown"
if (_name == "") then {
Expand Down

0 comments on commit da9e0cf

Please sign in to comment.