Skip to content

Commit

Permalink
improved usage of deleteVehicleCrew
Browse files Browse the repository at this point in the history
  • Loading branch information
Fusselwurm committed Oct 11, 2024
1 parent 4dee16a commit 55fa6b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions addons/activities/functions/fnc_reverse.spec.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ if (isClass (configFile >> "CfgVehicles" >> "LOP_AFR_Civ_Ural_open")) then {
]
],
{
{
_this deleteVehicleCrew _x
} forEach (crew _this);
deleteVehicleCrew _this;
deleteVehicle _this;
sleep 0.1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,7 @@ private _bUnawareOfAGesturing = [
private _grp = group _a;
deleteVehicle _a;
if (driver _b != _b) then {
{
_b deleteVehicleCrew _x
} forEach (crew _b);
deleteVehicleCrew _b;
};
deleteVehicle _b;
deleteGroup _grp;
Expand Down

0 comments on commit 55fa6b6

Please sign in to comment.