plotpole fix for new update

This commit is contained in:
raymix
2014-07-16 07:32:13 +01:00
parent a297cfea63
commit 077da12271

View File

@@ -386,7 +386,7 @@ if (isClass (configFile >> "SnapBuilding" >> _classname)) then {
deleteVehicle _objectHelper; deleteVehicle _objectHelper;
}; };
if(_IsNearPlot == 0) then { if(_IsNearPlot == 0 && !_isPole) then {
_findNearestPoles = nearestObjects [_objectHelper, ["Plastic_Pole_EP1_DZ"], 30]; _findNearestPoles = nearestObjects [_objectHelper, ["Plastic_Pole_EP1_DZ"], 30];
_nearestPole = _findNearestPoles select 0; _nearestPole = _findNearestPoles select 0;
_objectHelperPos = getPosATL _objectHelper; _objectHelperPos = getPosATL _objectHelper;