Replace forEach with Count

Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
This commit is contained in:
icomrade
2014-05-27 15:37:57 -04:00
parent 91d246e64e
commit e54b9983dd
210 changed files with 890 additions and 890 deletions

View File

@@ -38,7 +38,7 @@ if(_objectID == "0" && _objectUID == "0") then {
};
_allowed = [_object, "Server"] call check_publishobject;
if (!_allowed or !_proceed) exitWith {
if (!_allowed || !_proceed) exitWith {
if(!isNull(_object)) then {
deleteVehicle _object;
};