diff --git a/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf b/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf index 5a8d9b3f..3bef7b05 100644 --- a/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf @@ -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 { {