From 2688cdd95f421d60aeabd80d82e203eb4dac708b Mon Sep 17 00:00:00 2001 From: Whigital Date: Tue, 11 Feb 2020 23:41:18 +0100 Subject: [PATCH] conform isnil checking: cargo --- addons/cargo/functions/fnc_removeCargoItem.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/cargo/functions/fnc_removeCargoItem.sqf b/addons/cargo/functions/fnc_removeCargoItem.sqf index ede9c68c941..ee6de29cabd 100644 --- a/addons/cargo/functions/fnc_removeCargoItem.sqf +++ b/addons/cargo/functions/fnc_removeCargoItem.sqf @@ -53,7 +53,7 @@ private _continue = if (_item isEqualType objNull) then { }; } forEach _loaded; - FILTER(_loaded,_x != nil); + FILTER(_loaded,!isNil "_x"); true };