mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
whoops, forgot to sync these 2 changes...
This commit is contained in:
parent
9060d8644c
commit
963274813b
@ -4,7 +4,7 @@ class CfgPatches
|
|||||||
{
|
{
|
||||||
units[] = {};
|
units[] = {};
|
||||||
weapons[] = {};
|
weapons[] = {};
|
||||||
a3_DMS_version = "July 18, 2016 v2";
|
a3_DMS_version = "July 26, 2016";
|
||||||
requiredVersion = 1.36;
|
requiredVersion = 1.36;
|
||||||
requiredAddons[] = {"exile_client","exile_server_config"};
|
requiredAddons[] = {"exile_client","exile_server_config"};
|
||||||
};
|
};
|
||||||
|
@ -49,7 +49,13 @@ if (DMS_ai_allowFreezing) then
|
|||||||
private _leader = leader _x;
|
private _leader = leader _x;
|
||||||
private _group = _x;
|
private _group = _x;
|
||||||
|
|
||||||
if (!(isPlayer _leader) && {!([_leader,DMS_ai_freezingDistance] call DMS_fnc_IsPlayerNearby)}) then
|
if !(isPlayer _leader) then
|
||||||
|
{
|
||||||
|
// Ignore Exile flyovers.
|
||||||
|
if (((side _group) isEqualTo independent) && {(count (units _group)) isEqualTo 1}) exitWith {};
|
||||||
|
|
||||||
|
|
||||||
|
if !([_leader,DMS_ai_freezingDistance] call DMS_fnc_IsPlayerNearby) then
|
||||||
{
|
{
|
||||||
[_group,true] call DMS_fnc_FreezeToggle;
|
[_group,true] call DMS_fnc_FreezeToggle;
|
||||||
|
|
||||||
@ -62,6 +68,7 @@ if (DMS_ai_allowFreezing) then
|
|||||||
_group setVariable ["DMS_AllowFreezing",false];
|
_group setVariable ["DMS_AllowFreezing",false];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
} forEach allGroups;
|
} forEach allGroups;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user