From 1c615e5dce0797ef69e53ec0a3cc184d4619d1d5 Mon Sep 17 00:00:00 2001 From: He-Man Date: Thu, 18 Apr 2019 22:36:58 +0200 Subject: [PATCH] Fix --- Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf b/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf index 354aea7a..226b9dc4 100644 --- a/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf @@ -25,7 +25,7 @@ private ["_jammed","_jammer"]; //[[[end]]] -_jammer = (nearestObjects[player, call EPOCH_JammerClasses, call EPOCH_MaxJammerRange]) select {player distance _x < (getnumber (getmissionconfig "CfgEpochClient" >> "CfgJammers" >> (typeof _x) >> "buildingJammerRange"))}; +_jammer = (nearestObjects[cameraon, call EPOCH_JammerClasses, call EPOCH_MaxJammerRange]) select {cameraon distance _x < (getnumber (getmissionconfig "CfgEpochClient" >> "CfgJammers" >> (typeof _x) >> "buildingJammerRange"))}; _jammed = false; if !(_jammer isEqualTo[]) then { {