Change count back to forEach

Can not nest count loops inside other count loops:
https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count
This commit is contained in:
ebaydayz
2014-07-31 13:45:26 -04:00
parent 573bacdfc3
commit d19001d87b

View File

@@ -150,4 +150,4 @@ if (_nearbyCount < 1) exitwith
};
};
};
} count _nearby;
} forEach _nearby;