From ef2189b46702c1a07fc09173fc8b4ef0d85d38b3 Mon Sep 17 00:00:00 2001 From: commy2 Date: Mon, 7 Mar 2016 16:16:56 +0100 Subject: [PATCH] copy returned array of compatibleItems --- addons/jr/fnc_compatibleItems.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/jr/fnc_compatibleItems.sqf b/addons/jr/fnc_compatibleItems.sqf index 5394a8cb2..a11665a24 100644 --- a/addons/jr/fnc_compatibleItems.sqf +++ b/addons/jr/fnc_compatibleItems.sqf @@ -55,7 +55,7 @@ if (isNil "_compatibleItems") then { }; if (_typefilter == 0) then { //return - _compatibleItems + + _compatibleItems } else { _compatibleItems select {_typefilter == getNumber(configFile>>"CfgWeapons">>_x>>"itemInfo">>"type")}; };