mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #646 from Ignatz-HeMan/patch-3
Update EPOCH_lockCheck.sqf
This commit is contained in:
commit
9ab220f19c
@ -29,7 +29,7 @@ _config = "CfgEpochClient" call EPOCH_returnConfig;
|
|||||||
_buildingJammerRange = getNumber(_config >> "buildingJammerRange");
|
_buildingJammerRange = getNumber(_config >> "buildingJammerRange");
|
||||||
if (_buildingJammerRange == 0) then { _buildingJammerRange = 75; };
|
if (_buildingJammerRange == 0) then { _buildingJammerRange = 75; };
|
||||||
|
|
||||||
_jammer = nearestObjects[player, ["PlotPole_EPOCH"], _buildingJammerRange];
|
_jammer = nearestObjects[cameraon, ["PlotPole_EPOCH"], _buildingJammerRange];
|
||||||
_jammed = false;
|
_jammed = false;
|
||||||
if !(_jammer isEqualTo[]) then {
|
if !(_jammer isEqualTo[]) then {
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user