mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Correctly look up configs.
This commit is contained in:
parent
7568773ece
commit
21cc0db28f
@ -17,7 +17,7 @@ if(! (_ammo isKindOf "MissileBase") ) exitWith { false };
|
||||
|
||||
_configs = configProperties [configFile >> "CfgAmmo" >> _ammo >> QUOTE(ADDON), "true", false];
|
||||
if( (count _configs) < 1) exitWith {};
|
||||
_config = _configs select 1;
|
||||
_config = (configFile >> "CfgAmmo" >> _ammo >> QUOTE(ADDON));
|
||||
_enabled = getNumber ( _config >> "enabled");
|
||||
|
||||
// Bail if guidance is not enabled
|
||||
|
Loading…
Reference in New Issue
Block a user