diff --git a/helotraining_rewrite.Altis/createDropoffLZ.sqf b/helotraining_rewrite.Altis/createDropoffLZ.sqf index a90897a..100819b 100644 --- a/helotraining_rewrite.Altis/createDropoffLZ.sqf +++ b/helotraining_rewrite.Altis/createDropoffLZ.sqf @@ -69,7 +69,7 @@ while {true} do if (_handleDropoff) then { private _veh = [list _trg] call playerVehicleInList; - private _handle = [_lzLocation, _veh, _squad, _taskid] execVM "ejectSquad.sqf"; + private _handle = [_lzLocation, _veh, _squad, _taskid] spawn ejectSquad; waitUntil {isNull _handle}; breakOut "mainloop"; }; diff --git a/helotraining_rewrite.Altis/createPickupLZ.sqf b/helotraining_rewrite.Altis/createPickupLZ.sqf index 9691cc3..751fdfa 100644 --- a/helotraining_rewrite.Altis/createPickupLZ.sqf +++ b/helotraining_rewrite.Altis/createPickupLZ.sqf @@ -72,10 +72,10 @@ while {true} do { private _newLZLocation = (lzList - [_lzLocation]) call BIS_fnc_SelectRandom; private _veh = [list _trg] call playerVehicleInList; - private _handle = [_veh, _squad, _taskid] execVM "loadSquad.sqf"; + private _handle = [_veh, _squad, _taskid] spawn loadSquad; waitUntil {isNull _handle}; - private _handle = [_newLZLocation, _veh, _squad, _taskid] execVM "createDropoffLZ.sqf"; + private _handle = [_newLZLocation, _veh, _squad, _taskid] spawn createDropoffLZ; waitUntil {isNull _handle}; breakOut "mainloop"; };