Fix plot management buildables in range display count

See #1735
This commit is contained in:
ebaydayz
2016-09-21 15:52:14 -04:00
parent f3ccb74eab
commit ef065aeb35

View File

@@ -3,7 +3,8 @@ disableSerialization;
_range = DZE_PlotPole select 0; _range = DZE_PlotPole select 0;
_target = nearestObject [[player] call FNC_getPos,"Plastic_Pole_EP1_DZ"]; _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]); _count = count (nearestObjects [_target,_buildables,_range]);
_colour = "#ffffff"; _colour = "#ffffff";