From fa983164240301c8f16fe8e507b89b8a213e4262 Mon Sep 17 00:00:00 2001 From: mharis001 <34453221+mharis001@users.noreply.github.com> Date: Mon, 7 May 2018 17:44:15 -0400 Subject: [PATCH] Correct arsenal openBox center check (#6329) --- addons/arsenal/functions/fnc_openBox.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/arsenal/functions/fnc_openBox.sqf b/addons/arsenal/functions/fnc_openBox.sqf index a4d45edac7..af23d9f990 100644 --- a/addons/arsenal/functions/fnc_openBox.sqf +++ b/addons/arsenal/functions/fnc_openBox.sqf @@ -22,7 +22,7 @@ params [["_object", objNull, [objNull]], ["_center", objNull, [objNull]], ["_mod if ( isNull _object || {isNull _center} || - {!(_center isKindOf "Man")} || + {!(_center isKindOf "CAManBase")} || {!(isNull objectParent _center) && {!is3DEN}} ) exitWith {};