mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
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:
parent
959e74ac73
commit
cd1f40f1fc
@ -23,4 +23,5 @@
|
||||
BOOL
|
||||
*/
|
||||
params ["_item","_type"];
|
||||
(str(configFile >> _type >> _item) != "")
|
||||
// (str(configFile >> _type >> _item) != "")
|
||||
!isnull (configFile >> _type >> _item)
|
||||
|
Loading…
Reference in New Issue
Block a user