15 lines
506 B
Plaintext
15 lines
506 B
Plaintext
#include "../script_component.hpp"
|
|
|
|
private _approvedAssetsCfg = (missionConfigFile >> "ApprovedAssets");
|
|
|
|
if (!IS_CONFIG(_approvedAssetsCfg) || {!isClass _approvedAssetsCfg}) exitWith {
|
|
[
|
|
LEVEL_ERROR,
|
|
QUOTE(COMPONENT),
|
|
"ERROR: Approved assets config not found. Check that the config is present and correctly named in the mission config file. See defines/ApprovedAssets.hpp and framework/util/functions/getApprovedAssetsCfg.sqf.",
|
|
[]
|
|
] call EFUNC(common,log);
|
|
configNull;
|
|
};
|
|
|
|
_approvedAssetsCfg; |