Trader fix for Arma 2.14

Since Arma 2.14 (configfile >> _type >> _items) returns <NULL-config> when this config is not available (before it has returned "").
So now check if the config is not null.
This commit is contained in:
He-Man 2023-09-06 09:46:54 +02:00
parent 959e74ac73
commit cd1f40f1fc

View File

@ -23,4 +23,5 @@
BOOL
*/
params ["_item","_type"];
(str(configFile >> _type >> _item) != "")
// (str(configFile >> _type >> _item) != "")
!isnull (configFile >> _type >> _item)