From cd1f40f1fca65138732591f6c818df16d66c752e Mon Sep 17 00:00:00 2001 From: He-Man Date: Wed, 6 Sep 2023 09:46:54 +0200 Subject: [PATCH] Trader fix for Arma 2.14 Since Arma 2.14 (configfile >> _type >> _items) returns when this config is not available (before it has returned ""). So now check if the config is not null. --- Sources/epoch_code/compile/both/EPOCH_isAny.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/epoch_code/compile/both/EPOCH_isAny.sqf b/Sources/epoch_code/compile/both/EPOCH_isAny.sqf index 2aa1c8a6..4e9d9b65 100644 --- a/Sources/epoch_code/compile/both/EPOCH_isAny.sqf +++ b/Sources/epoch_code/compile/both/EPOCH_isAny.sqf @@ -23,4 +23,5 @@ BOOL */ params ["_item","_type"]; -(str(configFile >> _type >> _item) != "") +// (str(configFile >> _type >> _item) != "") +!isnull (configFile >> _type >> _item)