diff --git a/addons/frag/functions/fnc_doFrag.sqf b/addons/frag/functions/fnc_doFrag.sqf index b721a951eb..16fdbeadc0 100644 --- a/addons/frag/functions/fnc_doFrag.sqf +++ b/addons/frag/functions/fnc_doFrag.sqf @@ -29,7 +29,7 @@ params [ ]; // Check for vehicle hold-off timeout -private _shotParentVic = _shotParents#0; +_shotParents params ["_shotParentVic"]; if (_shotParentVic getVariable [QGVAR(nextFragTime), -1] > CBA_missionTime) exitWith { TRACE_1("vehicleTimeExit",_shotParentVic); };