Dogtags - Add missing private (#10132)

Update fnc_getDogtagItem.sqf
This commit is contained in:
johnb432 2024-07-20 10:26:01 +02:00 committed by GitHub
parent a7ce63a536
commit 4cb358ebf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {