This commit is contained in:
He-Man 2019-04-18 22:36:58 +02:00
parent 8cc6068418
commit 1c615e5dce

View File

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