From ad17aa07afe0e2499c056a23719add8070523c33 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 16 Dec 2013 13:06:32 -0500 Subject: [PATCH] #919 modify global var into array --- SQF/dayz_code/actions/maintain_area.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/maintain_area.sqf b/SQF/dayz_code/actions/maintain_area.sqf index 4f2c36a82..b90c8f619 100644 --- a/SQF/dayz_code/actions/maintain_area.sqf +++ b/SQF/dayz_code/actions/maintain_area.sqf @@ -11,7 +11,7 @@ s_player_maintain_area_preview = 1; _target = cursorTarget; // Plastic_Pole_EP1_DZ _objectClasses = ["ModularItems", "DZE_Housebase"] + DZE_ExtraMaintain; -_range = 50; // set the max range for the maintain area +_range = ((DZE_PlotPole this select 0)+20); // set the max range for the maintain area _objects = nearestObjects [_target, _objectClasses, _range]; //filter to only those that have 10% damage