From bda274efff0c023f3e5b7e8a9db1ed32cec53778 Mon Sep 17 00:00:00 2001 From: jokoho48 Date: Sun, 30 Aug 2015 22:59:27 +0200 Subject: [PATCH] fix wrong config access point --- addons/overpressure/functions/fnc_cacheOverPressureValues.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/overpressure/functions/fnc_cacheOverPressureValues.sqf b/addons/overpressure/functions/fnc_cacheOverPressureValues.sqf index c26796b5a5..914ead8b92 100644 --- a/addons/overpressure/functions/fnc_cacheOverPressureValues.sqf +++ b/addons/overpressure/functions/fnc_cacheOverPressureValues.sqf @@ -41,10 +41,10 @@ _array params ["_max"]; } forEach _array; // create the Config entry Point -[ +_return = [ (configFile >> "CfgWeapons" >> _weapon), (configFile >> "CfgMagazines" >> _magazine), - (configFile >> "CfgMagazines" >> _ammo) + (configFile >> "CfgAmmo" >> _ammo) ] select _type; // get the Variables out of the Configes and create a array with then