Skip to content

Commit 11847a1

Browse files
committed
Update fnc_doGroupSuppress.sqf
1 parent 982b1af commit 11847a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

addons/main/functions/GroupAction/fnc_doGroupSuppress.sqf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ private _index = -1;
7272

7373
// vehicle suppress
7474
private _suppressing = [_vehicle, (_posList select _index) vectorAdd [0, 0, random 1]] call FUNC(doVehicleSuppress);
75-
if (!_suppressing) then {
76-
_index = -1;
77-
} else {
75+
if (_suppressing) then {
7876
// debug variable
7977
(effectiveCommander _vehicle) setVariable [QGVAR(currentTask), "Group Suppress (Move)", GVAR(debug_functions)];
78+
} else {
79+
_index = -1;
8080
};
8181
};
8282

0 commit comments

Comments
 (0)