From 6760ee5055d444736a9d724b87d317528a4c6069 Mon Sep 17 00:00:00 2001 From: Grim <69561145+LinkIsGrim@users.noreply.github.com> Date: Sun, 5 Jan 2025 15:39:13 -0300 Subject: [PATCH] CSW - Use LINKFUNC in initVehicle waitUntilAndExecute (#10627) --- addons/csw/functions/fnc_initVehicle.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/csw/functions/fnc_initVehicle.sqf b/addons/csw/functions/fnc_initVehicle.sqf index 3b8d2524ef8..4d936483bea 100644 --- a/addons/csw/functions/fnc_initVehicle.sqf +++ b/addons/csw/functions/fnc_initVehicle.sqf @@ -18,7 +18,7 @@ params ["_vehicle"]; if (!alive _vehicle) exitWith { WARNING_1("%1 not alive",_vehicle); }; if (!simulationEnabled _vehicle) exitWith { - [{simulationEnabled _this}, FUNC(initVehicle), _vehicle] call CBA_fnc_waitUntilAndExecute; + [{simulationEnabled _this}, LINKFUNC(initVehicle), _vehicle] call CBA_fnc_waitUntilAndExecute; }; private _typeOf = typeOf _vehicle;