Update dayz_filterGroup

This sometimes throws WARNING: Function 'name' - x is dead RPT, so
"alive" appears to update too slowly for this as mentioned in:
https://community.bistudio.com/wiki/Talk:alive
This commit is contained in:
ebayShopper
2017-04-01 14:23:07 -04:00
parent 663170ae32
commit f8aff48ab9

View File

@@ -2,7 +2,7 @@ private "_group";
_group = [];
{
if (alive _x && isPlayer _x) then {
if (damage _x < 1 && isPlayer _x) then {
_group set [count _group,_x];
};
} count (units group _this);