Skip to content

Commit 3bdb933

Browse files
committed
fixed: no reaction to orders (civ: mod factions)
1 parent 5250995 commit 3bdb933

File tree

1 file changed

+3
-1
lines changed
  • =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/int

1 file changed

+3
-1
lines changed

=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/int/orders.sqf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ player playActionNow _gesture;
1212

1313
private _pos = getpos player;
1414
private _dir = getDir player;
15-
private _units = (_pos nearEntities [["Car","Civilian_F"], btc_int_radius_orders]) apply {driver _x};
15+
16+
private _civClasses = ["Car","Civilian_F"] + btc_civ_type_units;
17+
private _units = (_pos nearEntities [_civClasses, btc_int_radius_orders]) apply {driver _x};
1618

1719
if (_units isEqualTo []) exitWith {true};
1820

0 commit comments

Comments
 (0)