From 6b045e670687bc1c65ee6a5687f19b7c6c26c968 Mon Sep 17 00:00:00 2001 From: shukari Date: Wed, 19 Apr 2017 01:49:22 +0200 Subject: [PATCH] Update script because cba update https://github.com/CBATeam/CBA_A3/pull/590 --- addons/antennas/XEH_preInit.sqf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/addons/antennas/XEH_preInit.sqf b/addons/antennas/XEH_preInit.sqf index 6c129847a..35f818a23 100644 --- a/addons/antennas/XEH_preInit.sqf +++ b/addons/antennas/XEH_preInit.sqf @@ -9,9 +9,7 @@ if (!hasInterface) exitWith {}; //Don't need on Headless and dedicated Servers GVAR(radioTowerList) = [] call CBA_fnc_hashCreate; - ["TFAR_ConfigRefresh",{ - systemChat "TFAR_ConfigRefresh"; - GVAR(radioTowerList) params ["", "_keys"]; //#TODO convert to https://github.com/CBATeam/CBA_A3/pull/590 - _keys call DFUNC(pluginAddRadioTower); -}] call CBA_fnc_addEventHandler + //systemChat "TFAR_ConfigRefresh"; + ((GVAR(radioTowerList)) call CBA_fnc_hashKeys) call DFUNC(pluginAddRadioTower); +}] call CBA_fnc_addEventHandler;