From 077da122718284596c9b13683ca06601155e06b8 Mon Sep 17 00:00:00 2001 From: raymix Date: Wed, 16 Jul 2014 07:32:13 +0100 Subject: [PATCH] plotpole fix for new update --- SQF/dayz_code/actions/player_build2.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/player_build2.sqf b/SQF/dayz_code/actions/player_build2.sqf index c71a3f22f..47cdd33c9 100644 --- a/SQF/dayz_code/actions/player_build2.sqf +++ b/SQF/dayz_code/actions/player_build2.sqf @@ -386,7 +386,7 @@ if (isClass (configFile >> "SnapBuilding" >> _classname)) then { deleteVehicle _objectHelper; }; - if(_IsNearPlot == 0) then { + if(_IsNearPlot == 0 && !_isPole) then { _findNearestPoles = nearestObjects [_objectHelper, ["Plastic_Pole_EP1_DZ"], 30]; _nearestPole = _findNearestPoles select 0; _objectHelperPos = getPosATL _objectHelper;