mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
This commit is contained in:
parent
11b464b585
commit
757ab78191
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
params ["_detectorType"];
|
params ["_detectorType"];
|
||||||
|
|
||||||
|
if (_detectorType isEqualTo "") exitWith {[]};
|
||||||
|
|
||||||
private _detectorConfig = GVAR(detectorConfigs) getVariable _detectorType;
|
private _detectorConfig = GVAR(detectorConfigs) getVariable _detectorType;
|
||||||
if (isNil "_detectorConfig") then {
|
if (isNil "_detectorConfig") then {
|
||||||
private _cfgEntry = (configFile >> "ACE_detector" >> "detectors" >> _detectorType);
|
private _cfgEntry = (configFile >> "ACE_detector" >> "detectors" >> _detectorType);
|
||||||
|
Loading…
Reference in New Issue
Block a user