mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Load Vehicles - Oops, do not exit the main loop
This commit is contained in:
parent
35d8556635
commit
c8892e9c99
Binary file not shown.
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user