Skip to content

Commit

Permalink
bugfix infantry battlegroups
Browse files Browse the repository at this point in the history
  • Loading branch information
Apricot-ale committed Mar 2, 2023
1 parent 8ccc0a2 commit e940698
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ if !(_spawn_marker isEqualTo "") then {
};
[selectRandom _infClasses, markerPos _spawn_marker, _grp] call KPLIB_fnc_createManagedUnit;
};
[_grp] spawn battlegroup_ai;
_bg_groups pushBack _grp;
{
[_x] spawn battlegroup_ai;
} forEach _bg_groups;
} else {
private _vehicle_pool = [KPLIB_o_battleGrpVehicles, KPLIB_o_battleGrpVehiclesLight] select (KPLIB_enemyReadiness < 50);

Expand Down

0 comments on commit e940698

Please sign in to comment.