1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

fix usage of reserved variable "" in FUNC(getDetectorConfig), fix ()

This commit is contained in:
commy2 2016-12-02 17:09:48 +01:00 committed by Glowbal
parent 11b464b585
commit 757ab78191

@ -18,6 +18,8 @@
params ["_detectorType"];
if (_detectorType isEqualTo "") exitWith {[]};
private _detectorConfig = GVAR(detectorConfigs) getVariable _detectorType;
if (isNil "_detectorConfig") then {
private _cfgEntry = (configFile >> "ACE_detector" >> "detectors" >> _detectorType);