From 77fcecf2cee03cc9a6c179a8a534fbd508d18807 Mon Sep 17 00:00:00 2001 From: MGT Date: Mon, 10 Jun 2019 21:09:18 +0100 Subject: [PATCH] Update Ignatz_Client_DoorOpener.sqf Change pushed for the different sizes of frequency jammers --- epoch.Mission/addons/Ignatz_Client_DoorOpener.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epoch.Mission/addons/Ignatz_Client_DoorOpener.sqf b/epoch.Mission/addons/Ignatz_Client_DoorOpener.sqf index ad75d67..c6a5e9e 100644 --- a/epoch.Mission/addons/Ignatz_Client_DoorOpener.sqf +++ b/epoch.Mission/addons/Ignatz_Client_DoorOpener.sqf @@ -15,7 +15,7 @@ _config = 'CfgEpochClient' call EPOCH_returnConfig; _buildingJammerRange = getNumber(_config >> "buildingJammerRange"); _value = 0; _lockvalue = 1; -_nearjammers = nearestobjects [player,["Plotpole_EPOCH"],_buildingJammerRange]; +_nearjammers = nearestObjects[player, call EPOCH_JammerClasses,_buildingJammerRange]; if (_nearjammers isEqualTo []) exitwith {false}; _nearestJammer = _nearjammers select 0; if !((_nearestJammer getVariable["BUILD_OWNER", "-1"]) in[getPlayerUID player, Epoch_my_GroupUID]) exitwith {false};