Skip to content

Commit

Permalink
initial load distribution ai
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum committed Mar 15, 2016
1 parent 198632c commit 61cc991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -197,15 +197,15 @@ if (isServer) then {

if (!isMultiplayer) then {
[] spawn {
{if (!isPlayer _x) then {sleep 0.5; 0 = [_x] execVM "loadouts\_client.sqf"};0 = [_x] execVM "setup\adjustInitialSpawnPositionAI.sqf";} forEach allUnits;
{if (!isPlayer _x) then {sleep 0.5; 0 = [_x] execVM "loadouts\_client.sqf"};0 = [_x] execVM "server\adjustInitialSpawnPositionAI.sqf";} forEach allUnits;
};
} else {
[] spawn {
{
if (!isPlayer _x) then {
sleep 0.2;
0 = [_x] execVM "loadouts\_client.sqf";
0 = [_x] execVM "setup\adjustInitialSpawnPositionAI.sqf";
0 = [_x] execVM "server\adjustInitialSpawnPositionAI.sqf";
};
} forEach allUnits;
};
Expand Down

0 comments on commit 61cc991

Please sign in to comment.