mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
plotpole fix for new update
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user