mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
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:
parent
0e3d163ab2
commit
91e4a80ae2
@ -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 {
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user