Merge pull request #646 from Ignatz-HeMan/patch-3

Update EPOCH_lockCheck.sqf
This commit is contained in:
vbawol 2016-11-02 10:09:08 -05:00 committed by GitHub
commit 9ab220f19c

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 {
{