diff --git a/node_modules/grad-loadout/functions/general/fn_doLoadout.sqf b/node_modules/grad-loadout/functions/general/fn_doLoadout.sqf index 08503cd..963bfce 100644 --- a/node_modules/grad-loadout/functions/general/fn_doLoadout.sqf +++ b/node_modules/grad-loadout/functions/general/fn_doLoadout.sqf @@ -21,6 +21,7 @@ _resetLoadout = [(missionConfigFile >> "Loadouts"), "resetLoadout", 0] call BIS_ if (_resetLoadout == 0) then { _unitLoadout = getUnitLoadout _loadoutTarget; }; +if (count _unitLoadout == 0) exitWith {}; _unitLoadout = [_loadoutHash, _unitLoadout] call FUNC(hashToUnitLoadout); diff --git a/node_modules/grad-loadout/package.json b/node_modules/grad-loadout/package.json index d09432d..556509a 100644 --- a/node_modules/grad-loadout/package.json +++ b/node_modules/grad-loadout/package.json @@ -2,50 +2,50 @@ "_args": [ [ { - "raw": "grad-loadout@4.4.1", + "raw": "grad-loadout@4.4.2", "scope": null, "escapedName": "grad-loadout", "name": "grad-loadout", - "rawSpec": "4.4.1", - "spec": "4.4.1", + "rawSpec": "4.4.2", + "spec": "4.4.2", "type": "version" }, "E:\\Dokumente\\Arma 3 - Other Profiles\\McDiod\\mpmissions\\TvT_EndGame_Template.Stratis" ] ], - "_from": "grad-loadout@4.4.1", - "_id": "grad-loadout@4.4.1", + "_from": "grad-loadout@4.4.2", + "_id": "grad-loadout@4.4.2", "_inCache": true, "_installable": true, "_location": "/grad-loadout", - "_nodeVersion": "6.3.1", + "_nodeVersion": "4.4.7", "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/grad-loadout-4.4.1.tgz_1477855568249_0.7234187193680555" + "host": "packages-18-east.internal.npmjs.com", + "tmp": "tmp/grad-loadout-4.4.2.tgz_1479992246157_0.020322562428191304" }, "_npmUser": { "name": "gruppe-adler", "email": "kontakt@gruppe-adler.de" }, - "_npmVersion": "3.10.3", + "_npmVersion": "3.10.5", "_phantomChildren": {}, "_requested": { - "raw": "grad-loadout@4.4.1", + "raw": "grad-loadout@4.4.2", "scope": null, "escapedName": "grad-loadout", "name": "grad-loadout", - "rawSpec": "4.4.1", - "spec": "4.4.1", + "rawSpec": "4.4.2", + "spec": "4.4.2", "type": "version" }, "_requiredBy": [ "#USER", "/" ], - "_resolved": "https://registry.npmjs.org/grad-loadout/-/grad-loadout-4.4.1.tgz", - "_shasum": "ff1e343db5b839e98dfc71dd285b591760b2fc7f", + "_resolved": "https://registry.npmjs.org/grad-loadout/-/grad-loadout-4.4.2.tgz", + "_shasum": "a9cdef10e519dc77ee552dd383c28f61427dd499", "_shrinkwrap": null, - "_spec": "grad-loadout@4.4.1", + "_spec": "grad-loadout@4.4.2", "_where": "E:\\Dokumente\\Arma 3 - Other Profiles\\McDiod\\mpmissions\\TvT_EndGame_Template.Stratis", "contributors": [ { @@ -67,10 +67,10 @@ "devDependencies": {}, "directories": {}, "dist": { - "shasum": "ff1e343db5b839e98dfc71dd285b591760b2fc7f", - "tarball": "https://registry.npmjs.org/grad-loadout/-/grad-loadout-4.4.1.tgz" + "shasum": "a9cdef10e519dc77ee552dd383c28f61427dd499", + "tarball": "https://registry.npmjs.org/grad-loadout/-/grad-loadout-4.4.2.tgz" }, - "gitHead": "2783dbf3995859c84e99841309bb234171d15f70", + "gitHead": "e6d2ed83d3a1966b28df0824370c39eee038c4a6", "maintainers": [ { "name": "gruppe-adler", @@ -81,5 +81,5 @@ "optionalDependencies": {}, "readme": "ERROR: No README data found!", "scripts": {}, - "version": "4.4.1" + "version": "4.4.2" }