Load Vehicles - Oops, do not exit the main loop

This commit is contained in:
He-Man 2019-10-26 15:29:56 +02:00
parent 35d8556635
commit c8892e9c99
2 changed files with 1 additions and 1 deletions

View File

@ -36,8 +36,8 @@ for "_i" from 1 to _maxVehicleLimit do {
_vehHiveKey = format ["%1:%2", call EPOCH_fn_InstanceID,_i]; _vehHiveKey = format ["%1:%2", call EPOCH_fn_InstanceID,_i];
(["Vehicle", _vehHiveKey] call EPOCH_fnc_server_hiveGETRANGE) params [["_status",0],["_arr",[]]]; (["Vehicle", _vehHiveKey] call EPOCH_fnc_server_hiveGETRANGE) params [["_status",0],["_arr",[]]];
if (_arr isEqualTo []) exitwith {};
if (_status isEqualTo 1 && _arr isEqualType []) then { if (_status isEqualTo 1 && _arr isEqualType []) then {
if (_arr isEqualTo []) exitwith {};
_arrNum = count _arr; _arrNum = count _arr;
// New Upgrade System adds to DB array, check and correct older saved vehicles // New Upgrade System adds to DB array, check and correct older saved vehicles