Update Ignatz_Client_DoorOpener.sqf

Change pushed for the different sizes of frequency jammers
This commit is contained in:
MGT 2019-06-10 21:09:18 +01:00 committed by GitHub
parent fd97fe3e1b
commit 77fcecf2ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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};