From ed3266d12460ac3ee1e65bf38c786a201f56b09b Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 16 Dec 2013 13:02:39 -0500 Subject: [PATCH] #919 modify global var into array --- SQF/dayz_code/actions/player_build.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/player_build.sqf b/SQF/dayz_code/actions/player_build.sqf index c108b4973..95d767a60 100644 --- a/SQF/dayz_code/actions/player_build.sqf +++ b/SQF/dayz_code/actions/player_build.sqf @@ -117,11 +117,11 @@ if((count _offset) <= 0) then { _isPole = (_classname == "Plastic_Pole_EP1_DZ"); _isLandFireDZ = (_classname == "Land_Fire_DZ"); -_distance = DZE_plotRadius; +_distance = DZE_PlotPole this select 0; _needText = localize "str_epoch_player_246"; if(_isPole) then { - _distance = DZE_plotDistance; + _distance = DZE_PlotPole this select 1; }; // check for near plot