From 21552caee70a3c57aaeaa4a12dc2f3a2078316f1 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Mon, 4 May 2015 23:01:19 -0500 Subject: [PATCH] Opps- Not the same as javelin --- addons/missileguidance/functions/fnc_onFired.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/missileguidance/functions/fnc_onFired.sqf b/addons/missileguidance/functions/fnc_onFired.sqf index a3cf55f928..a184ba1ef4 100644 --- a/addons/missileguidance/functions/fnc_onFired.sqf +++ b/addons/missileguidance/functions/fnc_onFired.sqf @@ -16,7 +16,7 @@ PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile); if(! (_ammo isKindOf "MissileBase") ) exitWith { false }; //Verify ammo has explicity added guidance config (ignore inheritances) -_configs = configProperties [(configFile >> "CfgAmmo" >> _ammo), QUOTE(configName _x == QUOTE(QGVAR(enabled))), false]; +_configs = configProperties [(configFile >> "CfgAmmo" >> _ammo), QUOTE(configName _x == QUOTE(QUOTE(ADDON))), false]; if( (count _configs) < 1) exitWith {}; _config = (configFile >> "CfgAmmo" >> _ammo >> QUOTE(ADDON));