Skip to content

Commit

Permalink
CSW - Use LINKFUNC in initVehicle waitUntilAndExecute
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkIsGrim committed Jan 5, 2025
1 parent 7112556 commit 86909a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/csw/functions/fnc_initVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 86909a1

Please sign in to comment.