diff --git a/a3_vemf_reloaded/sqf/spawnStaticAI.sqf b/a3_vemf_reloaded/sqf/spawnStaticAI.sqf index 9153062..42a3eee 100644 --- a/a3_vemf_reloaded/sqf/spawnStaticAI.sqf +++ b/a3_vemf_reloaded/sqf/spawnStaticAI.sqf @@ -15,6 +15,5 @@ if ( _s0 isEqualTo "yes" ) then { [ "spawnStaticAI", 2, "spawning AI on positions..." ] ExecVM ( "log" call VEMFr_fnc_scriptPath ); - _uc = _s2 select _forEachIndex; - { [ _x, 2, ( _uc / 2 ) + ( round random ( _uc / 2 ) ), ( [ [ call VEMFr_fnc_whichMod ], [ "aiMode" ] ] call VEMFr_fnc_config ) select 0, "Static" ] spawn VEMFr_fnc_spawnVEMFrAI } forEach _s1; + { _uc = _s2 select _forEachIndex; [ _x, 2, ( _uc / 2 ) + ( round random ( _uc / 2 ) ), ( [ [ call VEMFr_fnc_whichMod ], [ "aiMode" ] ] call VEMFr_fnc_config ) select 0, "Static" ] spawn VEMFr_fnc_spawnVEMFrAI } forEach _s1; };