Skip to content

Commit

Permalink
well well well
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum committed Mar 14, 2016
1 parent 1d6769a commit 236532a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Engima/Traffic/ConfigAndStart.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,8 @@ _parameters = [
["MAX_SPAWN_DISTANCE", 2500],
["MIN_SKILL", 0.1],
["MAX_SKILL", 0.1],
["DEBUG", true],
["ON_SPAWN_CALLBACK",{
{
[_x] call randomCivilian;
} forEach crew (_this select 0);
}];
["DEBUG", false]
];
];

// Start an instance of the traffic
Expand Down
5 changes: 5 additions & 0 deletions Engima/Traffic/Server/Functions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,11 @@ ENGIMA_TRAFFIC_StartTraffic = {
_vehicle = _result select 0;
_vehiclesCrew = _result select 1;
_vehiclesGroup = _result select 2;

{
[_x] call randomCivilian;
} forEach _vehiclesCrew;


// Name vehicle
sleep random 0.1;
Expand Down

0 comments on commit 236532a

Please sign in to comment.