From ef065aeb35dadffe3f093da609e95f6ec2ed5c24 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Wed, 21 Sep 2016 15:52:14 -0400 Subject: [PATCH] Fix plot management buildables in range display count See #1735 --- SQF/dayz_code/actions/plotManagement/plotObjects.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/plotManagement/plotObjects.sqf b/SQF/dayz_code/actions/plotManagement/plotObjects.sqf index 4ccd666cf..59e81f560 100644 --- a/SQF/dayz_code/actions/plotManagement/plotObjects.sqf +++ b/SQF/dayz_code/actions/plotManagement/plotObjects.sqf @@ -3,7 +3,8 @@ disableSerialization; _range = DZE_PlotPole select 0; _target = nearestObject [[player] call FNC_getPos,"Plastic_Pole_EP1_DZ"]; -_buildables = DZE_maintainClasses; +// Also count safes, lockboxes, vanilla buildables, tents and stashes against DZE_BuildingLimit +_buildables = DZE_maintainClasses + DZE_LockableStorage + ["DZ_buildables","DZ_storage_base"]; _count = count (nearestObjects [_target,_buildables,_range]); _colour = "#ffffff";