From cd18fba578707bc148a65bd1ef97809d3547a7c0 Mon Sep 17 00:00:00 2001 From: IT07 Date: Sun, 17 Jul 2016 11:46:42 +0200 Subject: [PATCH] Error fix --- a3_vemf_reloaded/missions/DynamicLocationInvasion.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a3_vemf_reloaded/missions/DynamicLocationInvasion.sqf b/a3_vemf_reloaded/missions/DynamicLocationInvasion.sqf index d57afbe..cdf0b49 100644 --- a/a3_vemf_reloaded/missions/DynamicLocationInvasion.sqf +++ b/a3_vemf_reloaded/missions/DynamicLocationInvasion.sqf @@ -31,7 +31,7 @@ if (VEMFrInvasionCount <= (([[_this0],["maxInvasions"]] call VEMFr_fnc_config) s [_this0, 1, format["Invading %1...", _ln]] ExecVM ("log" call VEMFr_fnc_scriptPath); _m = ([[_mod],["aiMode"]] call VEMFr_fnc_config) select 0; - if (_ms13 isEqualTo 1) then { _m = selectRandom [0,1]; if ((call VEMFr_fnc_whichMod) isEqualTo "Exile") then { _m pushBack 2 } }; + if (_ms13 isEqualTo 1) then { _m = [0,1]; if ((call VEMFr_fnc_whichMod) isEqualTo "Exile") then { _m pushBack 2 }; _m = selectRandom _m }; if (_ms7 isEqualTo 1) then { if (_m isEqualTo 0) then { [_m, "NEW INVASION", format["Raiders have invaded %1 @ %2", _ln, mapGridPosition _lp]] ExecVM "a3_vemf_reloaded\sqf\notificationToClient.sqf" };