Update EPOCH_lockCheck.sqf

Otherwise it is possible to unlock foreign Doors / Gates while controling an UAV.
If you control an UAV, cameraon will check the Plotpoles near the UAV.
This commit is contained in:
He-Man 2016-11-01 17:41:03 +01:00 committed by GitHub
parent 0e3d163ab2
commit 91e4a80ae2

View File

@ -29,7 +29,7 @@ _config = "CfgEpochClient" call EPOCH_returnConfig;
_buildingJammerRange = getNumber(_config >> "buildingJammerRange");
if (_buildingJammerRange == 0) then { _buildingJammerRange = 75; };
_jammer = nearestObjects[player, ["PlotPole_EPOCH"], _buildingJammerRange];
_jammer = nearestObjects[cameraon, ["PlotPole_EPOCH"], _buildingJammerRange];
_jammed = false;
if !(_jammer isEqualTo[]) then {
{