Skip to content

Commit

Permalink
_unit was actually missing
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Oct 13, 2024
1 parent 5bd8a9d commit 2f91ba9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion addons/ui/fnc_openItemContextMenu.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ private _unit = call CBA_fnc_currentUnit;
{
_x params ["_slots", "_displayName", "_tooltip", "_color", "_icon", "_conditionEnable", "_conditionShow", "_statement", "_consume", "_params"];

//IGNORE_PRIVATE_WARNING ["_unit"]; // seems to come from upper scopes
private _args = [_unit, _container, _item, _slot, _params];
if (isLocalized _displayName) then {
_displayName = localize _displayName;
Expand Down

0 comments on commit 2f91ba9

Please sign in to comment.