diff --git a/SQF/dayz_code/compile/fn_getModelName.sqf b/SQF/dayz_code/compile/fn_getModelName.sqf index 5b2faf2b6..03456328b 100644 --- a/SQF/dayz_code/compile/fn_getModelName.sqf +++ b/SQF/dayz_code/compile/fn_getModelName.sqf @@ -1,6 +1,6 @@ local _model = ""; -if (!isNull _this) then { +if (!isNull _this && {!(_this isKindOf "Man")}) then { local _array = toArray (str _this); local _begin = (_array find 58) + 2; // ": " local _end = (_array find 46) + 3; // ".p3d"